Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX][Connector-V2]Fix Date partition column error #6917

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

dik111
Copy link
Contributor

@dik111 dik111 commented May 28, 2024

Purpose of this pull request

to fix #6916

Does this PR introduce any user-facing change?

How was this patch tested?

Check list

@@ -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;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a test case for this? Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants