-
Notifications
You must be signed in to change notification settings - Fork 450
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
[VL] Support casting timestamp type to varchar type #8338
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: |
2a0e02f
to
d15c889
Compare
@@ -301,7 +301,7 @@ bool SubstraitToVeloxPlanValidator::validateCast( | |||
return false; | |||
case TypeKind::TIMESTAMP: | |||
// Only support cast timestamp to date |
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.
Comment need change.
I remember that cast timestamp to varchar will get incorrect results. Can the velox changes here fix it? @PHILO-HE
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.
@zml1206, thanks for your comment! Yes, Spark UTs have uncovered some wrong result issue. I am still trying to fix all issues.
d15c889
to
99be2a0
Compare
Run Gluten Clickhouse CI on x86 |
Run Gluten Clickhouse CI on x86 |
What changes were proposed in this pull request?
To align with Spark, we need consider session timezone in this cast operation. See facebookincubator/velox#11958
How was this patch tested?
Existing imported Spark tests.