Skip to content

bigquery: implement support use_avro_logical_types for export jobs #6199

@d-torres

Description

@d-torres

With the next discovery release, BigQuery will support control of logical type annotations when specifying export jobs that use the Apache Avro file format. This will be controlled via the use_avro_logical_types.

Description from the API layer:

[Optional] If destinationFormat is set to "AVRO", this flag indicates
whether to enable extracting applicable column types (such as TIMESTAMP) to
their corresponding AVRO logical types (timestamp-micros), instead of only
using their raw types (avro-long).

This should mirror reciprocal support in load jobs for specifying whether logical type annotations should be used when building the schema of a table.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the BigQuery API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions