Pablo Estrada created BEAM-6611:
-----------------------------------

             Summary: A Python Sink for BigQuery with File Loads in Streaming
                 Key: BEAM-6611
                 URL: https://issues.apache.org/jira/browse/BEAM-6611
             Project: Beam
          Issue Type: Improvement
          Components: sdk-py-core
            Reporter: Pablo Estrada
            Assignee: Ahmet Altay


The Java SDK supports a bunch of methods for writing data into BigQuery, while 
the Python SDK supports the following:
- Streaming inserts for streaming pipelines [As seen in [bigquery.py and 
BigQueryWriteFn|https://github.com/apache/beam/blob/master/sdks/python/apache_beam/io/gcp/bigquery.py#L649-L813]]
- File loads for batch pipelines [As implemented in [PR 
7655|https://github.com/apache/beam/pull/7655]]

The Java SDK also supports File Loads for Streaming pipelines [see BatchLoads 
application|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#L1709-L1776].

File loads have the advantage of being much cheaper than streaming inserts 
(although they also are slower for the records to show up in the table).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to