Details
-
Improvement
-
Status: Open
-
P3
-
Resolution: Unresolved
-
None
-
None
-
None
Description
BigQuery supports detecting unspecified schemas automatically when executing load jobs: https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.load
By default this is false and Dataflow does not set this to true when creating load jobs: 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#L228
Probably we should support specifying this as an option in BigQueryIO.