You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@beam.apache.org by Matthew Ouyang <ma...@gmail.com> on 2023/03/01 23:00:28 UTC
getFailedInsertsWithErr and Storage Write API
The documentation says WriteResult.getFailedInserts won’t return anything
when used with the Storage Write API (
https://beam.apache.org/documentation/io/built-in/google-bigquery/) Is it
the same for WriteResult.getFailedInsertsWithErr?
Re: getFailedInsertsWithErr and Storage Write API
Posted by Ahmed Abualsaud via user <us...@beam.apache.org>.
That's right. For Storage Write API, you can get failed rows at
WriteResult::getFailedStorageApiInserts.
On Wed, Mar 1, 2023 at 6:01 PM Matthew Ouyang <ma...@gmail.com>
wrote:
> The documentation says WriteResult.getFailedInserts won’t return anything
> when used with the Storage Write API (
> https://beam.apache.org/documentation/io/built-in/google-bigquery/) Is it
> the same for WriteResult.getFailedInsertsWithErr?
>
Re: getFailedInsertsWithErr and Storage Write API
Posted by Reuven Lax via user <us...@beam.apache.org>.
Correct, however if you are using a recent version of Beam you can call
WriteResult.getFailedStorageApiInserts
On Wed, Mar 1, 2023 at 3:00 PM Matthew Ouyang <ma...@gmail.com>
wrote:
> The documentation says WriteResult.getFailedInserts won’t return anything
> when used with the Storage Write API (
> https://beam.apache.org/documentation/io/built-in/google-bigquery/) Is it
> the same for WriteResult.getFailedInsertsWithErr?
>