You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "Hisoka-X (via GitHub)" <gi...@apache.org> on 2024/06/04 12:42:57 UTC
Re: [PR] [FIX][Connector-V2]Fix Date partition column error [seatunnel]
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: commits-unsubscribe@seatunnel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org