You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 17:30:16 UTC

[GitHub] [beam] damccorm opened a new issue, #20491: Add BigQuery Avro logical type support on read

damccorm opened a new issue, #20491:
URL: https://github.com/apache/beam/issues/20491

   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_
   
    
   ```
   
   new JobConfigurationExtract()
    .setSourceTable(table)
    .setDestinationFormat("AVRO")
    .setUseAvroLogicalTypes(useAvroLogicalTypes)
   
   .setDestinationUris(ImmutableList.of(destinationUri));
   
   ```
   
    
   
   Imported from Jira [BEAM-10649](https://issues.apache.org/jira/browse/BEAM-10649). Original Jira may contain additional context.
   Reported by: regadas.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org