You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kai Jiang (JIRA)" <ji...@apache.org> on 2017/08/24 17:48:00 UTC

[jira] [Updated] (BEAM-1440) Create a BigQuery source (that implements iobase.BoundedSource) for Python SDK

     [ https://issues.apache.org/jira/browse/BEAM-1440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kai Jiang updated BEAM-1440:
----------------------------
    Description: 
Currently we have a BigQuery native source for Python SDK [1].
This can only be used by Dataflow runner.

We should  implement a Beam BigQuery source that implements iobase.BoundedSource [2] interface so that other runners that try to use Python SDK can read from BigQuery as well. Java SDK already has a Beam BigQuery source [3].

[1] https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/bigquery.py
[2] https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/iobase.py#L70
[3] https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java#L1189

  was:
Currently we have a BigQuery native source for Python SDK [1].
This can only be used by Dataflow runner.

We should  implement a Beam BigQuery source that implements iobase.BoundedSource [2] interface so that other runners that try to use Python SDK can read from BigQuery as well. Java SDK already has a Beam BigQuery source [3].

[1] https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/bigquery.py
[2] https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/iobase.py#L70
[3] https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java#L1189


> Create a BigQuery source (that implements iobase.BoundedSource) for Python SDK
> ------------------------------------------------------------------------------
>
>                 Key: BEAM-1440
>                 URL: https://issues.apache.org/jira/browse/BEAM-1440
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py
>            Reporter: Chamikara Jayalath
>
> Currently we have a BigQuery native source for Python SDK [1].
> This can only be used by Dataflow runner.
> We should  implement a Beam BigQuery source that implements iobase.BoundedSource [2] interface so that other runners that try to use Python SDK can read from BigQuery as well. Java SDK already has a Beam BigQuery source [3].
> [1] https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/bigquery.py
> [2] https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/iobase.py#L70
> [3] https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryIO.java#L1189



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