Imfuyuwei commented on a change in pull request #12436:
URL: https://github.com/apache/beam/pull/12436#discussion_r464127260
##########
File path:
sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/impl/schema/BeamTableUtils.java
##########
@@ -149,13 +149,35 @@ public static Object autoCastField(Schema.Field field,
Object rawObj) {
case INT16:
return Short.valueOf(raw);
case INT32:
+ if (raw.equals("")) {
Review comment:
Removed modifications on case INT32, FLOAT and DECIMAL.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]