-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[hotfix] fix exceptions caused by operator priority in connector-clickhouse when using sharding_key #8162
Conversation
&Operator priority is lower than%, resulting in the program not executing as expected
Run |
@supernovaYe please fix ci |
Could you mind add an unit test for this method? https://github.com/apache/seatunnel/pull/8162/files#diff-f4bb0831ff0d565061930b5e556ec8836783b1ba1420515d29d4a216aa37ba96R106 Thanks. |
Sure, I will fix ci and complete an unit tests after I finish my work |
@Test | ||
public void test() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test case useless. Please remove it.
} | ||
|
||
@Test | ||
public void test2() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public void test2() { | |
public void testWithShardRouterGetShardRight() { |
Purpose of this pull request
fix of #8161
Does this PR introduce any user-facing change?
no
How was this patch tested?
tested locally using over 10000 data points and obtained the maximum and minimum values of the modulus after hashing
Check list
New License Guide
release-note
.