[
https://issues.apache.org/jira/browse/BEAM-6602?focusedWorklogId=200807&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-200807
]
ASF GitHub Bot logged work on BEAM-6602:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Feb/19 18:31
Start Date: 19/Feb/19 18:31
Worklog Time Spent: 10m
Work Description: chamikaramj commented on pull request #7840:
[BEAM-6602] BigQueryIO.write natively understands Beam schemas
URL: https://github.com/apache/beam/pull/7840#discussion_r258159616
##########
File path:
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java
##########
@@ -189,7 +189,18 @@
* BigQueryIO.Write#withFormatFunction(SerializableFunction)}.
*
* <pre>{@code
- * class Quote { Instant timestamp; String exchange; String symbol; double
price; }
+ * @DefaultSchema(JavaFieldSchema.class)
Review comment:
Probably we should write a separate documentation section/subsection and/or
examples for schema-based writing instead of updating to the existing example.
To a user, this may look like "DefaultSchema" annotation is required instead of
optional. WDYT ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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: 200807)
Time Spent: 2h (was: 1h 50m)
> Support schemas in BigQueryIO.Write
> -----------------------------------
>
> Key: BEAM-6602
> URL: https://issues.apache.org/jira/browse/BEAM-6602
> Project: Beam
> Issue Type: Sub-task
> Components: io-java-gcp
> Reporter: Reuven Lax
> Assignee: Reuven Lax
> Priority: Major
> Labels: triaged
> Time Spent: 2h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)