[
https://issues.apache.org/jira/browse/BEAM-5807?focusedWorklogId=157187&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-157187
]
ASF GitHub Bot logged work on BEAM-5807:
----------------------------------------
Author: ASF GitHub Bot
Created on: 22/Oct/18 20:44
Start Date: 22/Oct/18 20:44
Worklog Time Spent: 10m
Work Description: kanterov commented on a change in pull request #6777:
[BEAM-5807] Conversion from AVRO records to rows
URL: https://github.com/apache/beam/pull/6777#discussion_r227108612
##########
File path: sdks/java/core/src/main/java/org/apache/beam/sdk/values/Row.java
##########
@@ -381,7 +381,7 @@ public static Builder withSchema(Schema schema) {
this.schema = schema;
}
- public Builder addValue(Object values) {
+ public Builder addValue(@Nullable Object values) {
Review comment:
I added annotation because findbugs complained, it's already widely used
with nullable values, just wasn't caught before, meaning there would be only
one usage of `addNullValue`
----------------------------------------------------------------
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: 157187)
Time Spent: 1h 40m (was: 1.5h)
> Add AvroIO.readRows
> -------------------
>
> Key: BEAM-5807
> URL: https://issues.apache.org/jira/browse/BEAM-5807
> Project: Beam
> Issue Type: Improvement
> Components: dsl-sql
> Reporter: Gleb Kanterov
> Assignee: Gleb Kanterov
> Priority: Major
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> # Motivation
> At the moment the only way to read AVRO is through code generation with
> avro-compiler and JavaBeanSchema. It makes it not possible to write
> transforms that can work with dynamic schemas. AVRO has generic data type
> called GenericRecord, reading is implemented in AvroIO.
> readGenericRecords. There is a code to convert GenericRecord to Row shipped
> as a part of BigQueryIO. However, it doesn't support all types and nested
> records.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)