Skip to content

Update BigQueryIO to support schema auto detection when executing load jobs #18562

@kennknowles

Description

@kennknowles

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.

Imported from Jira BEAM-3167. Original Jira may contain additional context.
Reported by: chamikara.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions