zhenyue-xu commented on code in PR #9670:
URL: https://github.com/apache/seatunnel/pull/9670#discussion_r2257440884


##########
seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/utils/ObjectUtils.java:
##########
@@ -67,8 +67,8 @@ public static BigDecimal minus(Object minuend, Object 
subtrahend) {
             return BigDecimal.valueOf((long) minuend)
                     .subtract(BigDecimal.valueOf((long) subtrahend));
         } else if (minuend instanceof Float) {
-            return BigDecimal.valueOf((float) minuend)
-                    .subtract(BigDecimal.valueOf((float) subtrahend));
+            return new BigDecimal(minuend.toString())

Review Comment:
   Done, added test case for ObjectUtils



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