You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/22 20:27:41 UTC
[jira] [Commented] (BEAM-1782) BigQuery read transform fails for
DirectRunner when reading empty repeated fields
[ https://issues.apache.org/jira/browse/BEAM-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15937062#comment-15937062 ]
ASF GitHub Bot commented on BEAM-1782:
--------------------------------------
GitHub user chamikaramj opened a pull request:
https://github.com/apache/beam/pull/2289
[BEAM-1782] Updates BigQuery read transform to correctly process empty repeated fields.
This fixes DirectRunnner. DataflowRunner is already processing these fields correctly.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chamikaramj/beam bq_empty_repeated
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/beam/pull/2289.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2289
----
commit f3da5eb0f70f51c3e0b4b304b55d56cba7cd3f99
Author: chamikara@google.com <ch...@google.com>
Date: 2017-03-22T20:17:26Z
Updates BigQuery read transform to correctly process empty repeated fields.
----
> BigQuery read transform fails for DirectRunner when reading empty repeated fields
> ---------------------------------------------------------------------------------
>
> Key: BEAM-1782
> URL: https://issues.apache.org/jira/browse/BEAM-1782
> Project: Beam
> Issue Type: Bug
> Components: sdk-py
> Reporter: Chamikara Jayalath
> Assignee: Chamikara Jayalath
>
> We currently expect an empty list instead of 'None' at following location.
> https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/bigquery.py#L1072
> What we actually receive from BigQuery for empty repeated fields is 'None' resulting in a failure.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)