lukecwik commented on code in PR #24366:
URL: https://github.com/apache/beam/pull/24366#discussion_r1046531630
##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/TableRowToStorageApiProto.java:
##########
@@ -108,6 +109,31 @@ public static class SchemaDoesntMatchException extends
SchemaConversionException
}
}
+ public static class SingleValueConversionException extends
SchemaConversionException {
+ SingleValueConversionException(Object sourceValue, SchemaInformation
schema, Exception e) {
+ super(
+ "Column: "
+ + getPrettyFieldName(schema)
+ + " ("
+ + schema.getType()
+ + "). "
+ + "Value: "
+ + sourceValue
+ + " ("
+ + sourceValue.getClass().getName()
+ + "). Reason: "
+ + e);
+ + "Value: " + sourceValue + " (" + sourceValue.getClass().getName()
+ + "). Reason: " + e);
Review Comment:
```suggestion
```
--
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]