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

Allow writing to time partitioned tables when CreateDisposition==CREATE_NEVER

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Duplicate
    • None
    • Not applicable
    • io-java-gcp
    • None

    Description

      Writing to time partitioned table fails when CreateDisposition==CREATE_NEVER with error "Table with field based partitioning must have a schema".

      This seems to be due to BigQuery not setting schema for this case.

      https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/WriteTables.java#L114

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chamikara Chamikara Madhusanka Jayalath
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: