You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2020/08/06 08:59:00 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 ]

Kenneth Knowles updated BEAM-10649:
-----------------------------------
    Status: Open  (was: Triage Needed)

> 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
>            Assignee: Filipe Regadas
>            Priority: P2
>
> 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)