[
https://issues.apache.org/jira/browse/BEAM-10649?focusedWorklogId=474065&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-474065
]
ASF GitHub Bot logged work on BEAM-10649:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 24/Aug/20 22:34
Start Date: 24/Aug/20 22:34
Worklog Time Spent: 10m
Work Description: pabloem commented on pull request #12479:
URL: https://github.com/apache/beam/pull/12479#issuecomment-679400395
I am surprised that we didn't have this already. Let's see...
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 474065)
Time Spent: 40m (was: 0.5h)
> 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
> Time Spent: 40m
> 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)