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)

Reply via email to