-
Notifications
You must be signed in to change notification settings - Fork 428
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
[GLUTEN-7475][VL] fix: remove unnecessary trim function in CAST, cuz velox does it #7476
base: main
Are you sure you want to change the base?
Conversation
Thanks for opening a pull request! Could you open an issue for this pull request on Github Issues? https://github.com/apache/incubator-gluten/issues Then could you also rename commit message and pull request title in the following format?
See also: |
Run Gluten Clickhouse CI |
1 similar comment
Run Gluten Clickhouse CI |
3a3d20a
to
c2cd9ee
Compare
Run Gluten Clickhouse CI |
@Henry2SS, thanks for your pr! This piece of scala code is for making Gluten/Velox consistent with Spark. Seems the current Velox code doesn't have the consistent white spaces definition? Could you check further? |
Thanks for your reply! And I noticed that, from facebookincubator/velox#7377 this PR, the author proposed different corner cases for Presto and Spark on CAST, including removeWhiteSpaces. Unfortunately, I don't have much knowledge about this, please confirm. |
And do we have some unit-tests to test CAST from VARCHAR in CI? |
What changes were proposed in this pull request?
remove unnecessary trim node in CAST, when input type is VARCHAR.
(Fixes: #7475)
How was this patch tested?
Integration tests passed locally. The performance is 1.x times faster.