From 345ae28dd9df1f92c6363a11c91fc1bf94fc37e7 Mon Sep 17 00:00:00 2001 From: Danny McCormick Date: Wed, 29 Jan 2025 11:50:06 -0500 Subject: [PATCH] Fix bq write doc string I was confused why this wasn't rendering correctly in https://beam.apache.org/releases/yamldoc/current/#writetobigquery - I think this is why --- sdks/python/apache_beam/yaml/yaml_io.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdks/python/apache_beam/yaml/yaml_io.py b/sdks/python/apache_beam/yaml/yaml_io.py index 9392cd6aee5f..95d06bd07f0c 100644 --- a/sdks/python/apache_beam/yaml/yaml_io.py +++ b/sdks/python/apache_beam/yaml/yaml_io.py @@ -147,7 +147,7 @@ def write_to_bigquery( Defaults to `{BigQueryDisposition.CREATE_IF_NEEDED}`. - write_disposition (BigQueryDisposition): A string describing what happens + write_disposition (BigQueryDisposition): A string describing what happens if the table has already some data. Possible values are: * :attr:`{BigQueryDisposition.WRITE_TRUNCATE}`: delete existing rows. @@ -159,7 +159,7 @@ def write_to_bigquery( Defaults to `{BigQueryDisposition.WRITE_APPEND}`. - error_handling: If specified, should be a mapping giving an output into + error_handling: If specified, should be a mapping giving an output into which to emit records that failed to bet written to BigQuery, as described at https://beam.apache.org/documentation/sdks/yaml-errors/ Otherwise permanently failing records will cause pipeline failure.