[
https://issues.apache.org/jira/browse/BEAM-10649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kenneth Knowles updated BEAM-10649:
-----------------------------------
This Jira ticket has a pull request attached to it, but is still open. Did the
pull request resolve the issue? If so, could you please mark it resolved? This
will help the project have a clear view of its open issues.
> Add BigQuery Avro logical type support on read
> ----------------------------------------------
>
> Key: BEAM-10649
> URL: https://issues.apache.org/jira/browse/BEAM-10649
> Project: Beam
> Issue Type: Improvement
> Components: io-java-gcp
> Reporter: Filipe Regadas
> Priority: P3
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> 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_
>
> {code:java}
> new JobConfigurationExtract()
> .setSourceTable(table)
> .setDestinationFormat("AVRO")
> .setUseAvroLogicalTypes(useAvroLogicalTypes)
> .setDestinationUris(ImmutableList.of(destinationUri));
> {code}
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)