[ https://issues.apache.org/jira/browse/BEAM-8098?focusedWorklogId=311525&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-311525 ]
ASF GitHub Bot logged work on BEAM-8098: ---------------------------------------- Author: ASF GitHub Bot Created on: 12/Sep/19 17:04 Start Date: 12/Sep/19 17:04 Worklog Time Spent: 10m Work Description: pabloem commented on issue #9555: [BEAM-8098] Improve documentation on BigQueryIO URL: https://github.com/apache/beam/pull/9555#issuecomment-530916432 Run Java PreCommit ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 311525) Time Spent: 20m (was: 10m) > BigQueryIO needs documentation on how data types in BigQuery and in Beam SDK > correspond > --------------------------------------------------------------------------------------- > > Key: BEAM-8098 > URL: https://issues.apache.org/jira/browse/BEAM-8098 > Project: Beam > Issue Type: Improvement > Components: io-java-gcp > Reporter: Yueyang Qiu > Assignee: Yueyang Qiu > Priority: Minor > Time Spent: 20m > Remaining Estimate: 0h > > While working on [https://github.com/apache/beam/pull/9144], I realized there > is a gap in BigQueryIO documentation on mapping between data types defined in > BigQuery and in Beam SDK. > > For example, if a user reads a BYTES field from BigQuery into Beam, it will > be represented as java.nio.ByteBuffer type in Beam Java SDK. The user will > need to do an explicit type cast to ByteBuffer in order to use the data, but > there is no easy way the user can know which type they should cast to, unless > digging into BigQueryIO's implementation (Java - Avro - BigQuery). -- This message was sent by Atlassian Jira (v8.3.2#803003)