This is an automated email from the ASF dual-hosted git repository. tvalentyn pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push: new 16d62827551 Update bigquery.py documentation (#31443) 16d62827551 is described below commit 16d62827551170c7af104995327ba88ddc1fcb88 Author: liferoad <huxiangq...@gmail.com> AuthorDate: Wed May 29 20:03:39 2024 -0400 Update bigquery.py documentation (#31443) * Update bigquery.py fix #31372 * fix lint --- sdks/python/apache_beam/io/gcp/bigquery.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdks/python/apache_beam/io/gcp/bigquery.py b/sdks/python/apache_beam/io/gcp/bigquery.py index a4d710b1288..caeed6b7b9b 100644 --- a/sdks/python/apache_beam/io/gcp/bigquery.py +++ b/sdks/python/apache_beam/io/gcp/bigquery.py @@ -283,7 +283,8 @@ method) could look like:: def chain_after(result): try: # This works for FILE_LOADS, where we run load and possibly copy jobs. - return (result.load_jobid_pairs, result.copy_jobid_pairs) | beam.Flatten() + return (result.destination_load_jobid_pairs, + result.destination_copy_jobid_pairs) | beam.Flatten() except AttributeError: # Works for STREAMING_INSERTS, where we return the rows BigQuery rejected return result.failed_rows