[
https://issues.apache.org/jira/browse/BEAM-11521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314122#comment-17314122
]
Aaron Dallas commented on BEAM-11521:
-------------------------------------
I just realized that there is a {{batch_size}} argument to the classÂ
{{apache_beam.io.gcp.bigquery.WriteToBigQuery}}. Does this have the same
behavior as Java's {{maxStreamingBatchSize}} or will it block until the
{{batch_size}} is reached?
> BigQuery: add maxStreamingBatchSize for Python streaming inserts
> ----------------------------------------------------------------
>
> Key: BEAM-11521
> URL: https://issues.apache.org/jira/browse/BEAM-11521
> Project: Beam
> Issue Type: Bug
> Components: io-py-gcp
> Reporter: Udi Meiri
> Priority: P3
>
> Java SDK has maxStreamingBatchSize.
> Implementing something similar for Python would prevent 400 HTTP errors from
> BigQuery when batches are too large. Instead, Beam should try to split
> batches and log a warning (once) when trying to insert a single very large
> row.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)