Hisoka-X commented on code in PR #6917:
URL: https://github.com/apache/seatunnel/pull/6917#discussion_r1625936373


##########
seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/source/FixedChunkSplitter.java:
##########
@@ -216,7 +217,13 @@ private PreparedStatement 
createNumberColumnSplitStatement(JdbcSourceSplit split
             } else if (param instanceof Float) {
                 statement.setFloat(i + 1, (Float) param);
             } else if (param instanceof BigDecimal) {
-                statement.setBigDecimal(i + 1, (BigDecimal) param);
+                BigDecimal bdParam = (BigDecimal) param;

Review Comment:
   Could you add a test case for this? Thanks !



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