Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add BigQuery Avro logical type support on read #20491

Closed
damccorm opened this issue Jun 4, 2022 · 1 comment
Closed

Add BigQuery Avro logical type support on read #20491

damccorm opened this issue Jun 4, 2022 · 1 comment

Comments

@damccorm
Copy link
Contributor

damccorm commented Jun 4, 2022

Currently on read Avro GenericRecords are not supporting LogicalTypes; reading DATE, TIME fields will be read as STRING.

 

Supporting logical types should be doable by just enabling support on JobConfigurationExtract

 


new JobConfigurationExtract()
 .setSourceTable(table)
 .setDestinationFormat("AVRO")
 .setUseAvroLogicalTypes(useAvroLogicalTypes)

.setDestinationUris(ImmutableList.of(destinationUri));

 

Imported from Jira BEAM-10649. Original Jira may contain additional context.
Reported by: regadas.

@RustedBones
Copy link
Contributor

Looked to be resolved in #12479

@damccorm damccorm closed this as completed Sep 4, 2024
@github-actions github-actions bot added this to the 2.60.0 Release milestone Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants