-
Notifications
You must be signed in to change notification settings - Fork 476
Add BucketingFunctionTest, this allows rust client side to also run the same test and ensures consistency. #2274
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
Add BucketingFunctionTest, this allows rust client side to also run the same test and ensures consistency. #2274
Conversation
…he same test and ensures consistency.
…he same test and ensures consistency.
|
@luoyuxia Would appreciate review here as this implements the same test in rust client to ensure hashing consistency between java side and rust side. |
luoyuxia
left a comment
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.
@leekeiabstraction Thanks for the pr. Left minor comment.
fluss-common/src/test/java/org/apache/fluss/bucketing/BucketingFunctionTest.java
Outdated
Show resolved
Hide resolved
fluss-common/src/test/java/org/apache/fluss/bucketing/BucketingFunctionTest.java
Outdated
Show resolved
Hide resolved
fluss-common/src/test/java/org/apache/fluss/bucketing/BucketingFunctionTest.java
Outdated
Show resolved
Hide resolved
fluss-common/src/test/java/org/apache/fluss/bucketing/BucketingFunctionTest.java
Outdated
Show resolved
Hide resolved
fluss-common/src/test/java/org/apache/fluss/bucketing/BucketingFunctionTest.java
Outdated
Show resolved
Hide resolved
fluss-common/src/test/java/org/apache/fluss/bucketing/BucketingFunctionTest.java
Outdated
Show resolved
Hide resolved
Co-authored-by: yuxia Luo <luoyuxia@alumni.sjtu.edu.cn>
Co-authored-by: yuxia Luo <luoyuxia@alumni.sjtu.edu.cn>
Co-authored-by: yuxia Luo <luoyuxia@alumni.sjtu.edu.cn>
Co-authored-by: yuxia Luo <luoyuxia@alumni.sjtu.edu.cn>
Co-authored-by: yuxia Luo <luoyuxia@alumni.sjtu.edu.cn>
Co-authored-by: yuxia Luo <luoyuxia@alumni.sjtu.edu.cn>
|
@luoyuxia thank you for the comments. Accepted the suggested changes. |
|
The CI failure should now be fixed |
luoyuxia
left a comment
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.
@leekeiabstraction Thanks LGTM!
Purpose
See related issue apache/fluss-rust#117
Brief change log
Add BucketingFunctionTest, this allows rust client side to also run the same test and ensures consistency.
Tests
Added tests for default, Paimon, Lance and Datalake BucketingFunctions.