sillencem commented on code in PR #17510:
URL: https://github.com/apache/kafka/pull/17510#discussion_r1928459255


##########
connect/api/src/main/java/org/apache/kafka/connect/data/Values.java:
##########
@@ -1039,30 +1041,34 @@ private static SchemaAndValue parseAsNumber(String 
token) {
                 return new SchemaAndValue(schema, decimal);
             }
         }
+        
+       public static boolean isBigInteger(BigDecimal bd) {
+               return bd.signum() == 0 || bd.scale() <= 0 || 
bd.stripTrailingZeros().scale() <= 0;
+       }        
 
         private static SchemaAndValue parseAsExactDecimal(BigDecimal decimal) {
+            BigDecimal abs = decimal.abs();

Review Comment:
   I think I've addressed this now



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