You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Filipe Regadas (Jira)" <ji...@apache.org> on 2020/08/06 08:59:00 UTC
[jira] [Created] (BEAM-10649) Add BigQuery Avro logical type
support on read
Filipe Regadas created BEAM-10649:
-------------------------------------
Summary: 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
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)