-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-48572][SQL] Fix DateSub, DateAdd, WindowTime, TimeWindow and SessionWindow expressions #46943
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
[SPARK-48572][SQL] Fix DateSub, DateAdd, WindowTime, TimeWindow and SessionWindow expressions #46943
Conversation
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.
note: I wanted to eventually cover this in #46659, but I'll close that now
|
btw, should we add some tests for these changes? |
|
Will add them a bit later and will remove WIP when it is done. |
uros-db
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.
lgtm
|
@cloud-fan could you review this? |
|
thanks, merging to master! |
What changes were proposed in this pull request?
Fix for listed expressions.
Why are the changes needed?
These expressions are found to be faulty when working with collations.
Does this PR introduce any user-facing change?
Yes, it fixes expressions that are not working with collations.
How was this patch tested?
Tests added for expressions to reproduce errors.
Was this patch authored or co-authored using generative AI tooling?
No.