reuvenlax commented on code in PR #26714:
URL: https://github.com/apache/beam/pull/26714#discussion_r1195626037


##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/StorageApiWriteUnshardedRecords.java:
##########
@@ -571,7 +571,7 @@ long flush(
                             failedRow, 
error.getRowIndexToErrorMessage().get(failedIndex)),
                         timestamp);
                   } catch (InvalidProtocolBufferException e) {
-                    LOG.error("Failed to insert row and could not parse the 
result!");
+                    LOG.error("Failed to insert row and could not parse the 
result!", e);

Review Comment:
   this is the dead-letter codepath. These rows have already been successfully 
converted to protobuf upstream (by Beam), so failing conversion here is quite 
unexpected. The only scenario I can think of if there is data corruption on the 
wire, in which case there's not much we can do.



-- 
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