You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/10/09 17:10:02 UTC
[jira] [Updated] (BEAM-10649) Add BigQuery Avro logical type
support on read
[ https://issues.apache.org/jira/browse/BEAM-10649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Beam JIRA Bot updated BEAM-10649:
---------------------------------
Labels: (was: stale-assigned)
> 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: P2
> 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.3.4#803005)