Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1440

Create a BigQuery source (that implements iobase.BoundedSource) for Python SDK

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.19.0
    • Component/s: sdk-py-core
    • Labels:
      None

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kamilwu Kamil Wasilewski
                Reporter:
                chamikara Chamikara Madhusanka Jayalath
              • Votes:
                6 Vote for this issue
                Watchers:
                16 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 19.5h
                  19.5h