Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update BigQueryIO Documentation #28591

Merged
merged 4 commits into from
Oct 9, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -883,9 +883,9 @@ explicitly enable this using [`withAutoSharding`](https://beam.apache.org/releas
***Note:*** Auto sharding with `STORAGE_WRITE_API` is supported on Dataflow's legacy runner, but **not** on Runner V2
{{< /paragraph >}}

When using `STORAGE_WRITE_API`, the PCollection returned by
[`WriteResult.getFailedInserts`](https://beam.apache.org/releases/javadoc/current/org/apache/beam/sdk/io/gcp/bigquery/WriteResult.html#getFailedInserts--)
will not contain the failed rows. If there are data validation errors, the
When using `STORAGE_WRITE_API`, the `PCollection` returned by
[`WriteResult.getFailedStorageApiInserts`](https://beam.apache.org/releases/javadoc/current/org/apache/beam/sdk/io/gcp/bigquery/WriteResult.html#getFailedStorageApiInserts--)
will contain the rows that failed to be written by the Storage Write API. If there are data validation errors, the
RyuSA marked this conversation as resolved.
Show resolved Hide resolved
transform will throw a `RuntimeException`.

#### At-least-once semantics
Expand All @@ -901,9 +901,9 @@ specify the number of streams, and you can’t specify the triggering frequency.

Auto sharding is not applicable for `STORAGE_API_AT_LEAST_ONCE`.

When using `STORAGE_API_AT_LEAST_ONCE`, the PCollection returned by
[`WriteResult.getFailedInserts`](https://beam.apache.org/releases/javadoc/current/org/apache/beam/sdk/io/gcp/bigquery/WriteResult.html#getFailedInserts--)
will not contain the failed rows. If there are data validation errors, the
When using `STORAGE_API_AT_LEAST_ONCE`, the `PCollection` returned by
[`WriteResult.getFailedStorageApiInserts`](https://beam.apache.org/releases/javadoc/current/org/apache/beam/sdk/io/gcp/bigquery/WriteResult.html#getFailedStorageApiInserts--)
will contain the rows that failed to be written by the Storage Write API. If there are data validation errors, the
RyuSA marked this conversation as resolved.
Show resolved Hide resolved
transform will throw a `RuntimeException`.

#### Quotas
Expand Down