ajdub508 commented on code in PR #28091:
URL: https://github.com/apache/beam/pull/28091#discussion_r1313822761


##########
sdks/python/apache_beam/io/gcp/bigquery_write_it_test.py:
##########
@@ -454,6 +454,56 @@ def test_big_query_write_insert_errors_reporting(self):
           | 'ParseErrors' >> beam.Map(lambda err: (err[1], err[2])),
           equal_to(bq_result_errors))
 
+
+  @pytest.mark.it_postcommit
+  def test_big_query_write_insert_not_found_errors(self):
+    """
+    Test that NotFound errors returned by beam.io.WriteToBigQuery
+    contain both the failed rows amd the reason for it failing.

Review Comment:
   Thinking about this some more along with the suggestion to add to 
`_NON_TRANSIENT_ERRORS`, should be able to use the response reasons to let 
[RetryStrategy](https://github.com/apache/beam/blob/26b77723445cf383365098b296b9db77409af94c/sdks/python/apache_beam/io/gcp/bigquery.py#L1650-L1653)
 do its thing.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to