Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-4789

BigQueryIO WRITE_TRUNCATE documentation is out of date

Details

    • Improvement
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • io-java-gcp, sdk-py-core
    • None

    Description

      Apache Beam 2.5 documentation (https://beam.apache.org/documentation/sdks/javadoc/2.5.0/), states that
       
      "WRITE_TRUNCATE
      public static final BigQueryIO.Write.WriteDisposition WRITE_TRUNCATE
      Specifies that write should replace a table.
      The replacement may occur in multiple steps - for instance by first removing the existing table, then creating a replacement, then filling it in. This is not an atomic operation, and external programs may see the table in any of these intermediate steps."
       
      However WRITE_TRUNCATE is an atomic BigQuery operation. The documentation needs to be updated.

      Attachments

        Activity

          People

            Unassigned Unassigned
            altay Ahmet Altay
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: