beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Kirpichov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-2986) Support reading avro GenericRecords with BigQueryIO
Date Mon, 25 Sep 2017 15:33:00 GMT

    [ https://issues.apache.org/jira/browse/BEAM-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16179175#comment-16179175
] 

Eugene Kirpichov commented on BEAM-2986:
----------------------------------------

To do this change in a compatible way, you may want to follow an approach similar to what
https://github.com/apache/beam/commit/77ba7a35cdae0b036791cce0682beefeb3fd809b did for TextIO.Write.

> Support reading avro GenericRecords with BigQueryIO
> ---------------------------------------------------
>
>                 Key: BEAM-2986
>                 URL: https://issues.apache.org/jira/browse/BEAM-2986
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-java-gcp
>            Reporter: Steve Niemitz
>            Assignee: Chamikara Jayalath
>
> It would be nice to expose the avro records from BigQuery exports directly, rather than
converting/serializing them to TableRow objects.
> The interface could be similar to AvroIO.parseGenericRecords, allowing a user to pass
in a custom parseFn to the reader.
> There's a thread on the dev@ mailing this w/ discussion:
> https://lists.apache.org/thread.html/a045726a0c8d7412f3556ee3aac881920afb040180f42112b393c68e@%3Cdev.beam.apache.org%3E



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message