-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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-38534][SQL][TESTS] Disable to_timestamp('366', 'DD')
test case
#35825
Conversation
Also, cc @MaxGekk because Apache Spark 3.3.0 Java11/Java17 tests are broken. |
to_timestamp('366', 'DD')
test caseto_timestamp('366', 'DD')
test case
to_timestamp('366', 'DD')
test caseto_timestamp('366', 'DD')
test case
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.
Thanks for the fix. I also verified on my local with java 11
Thank you, @gengliangwang and @MaxGekk . Merged to master! |
LGTM+1 |
@dongjoon-hyun @gengliangwang @MaxGekk Similar to the current pr, the following SQL will also have behavioral differences between Java 8 and Java 11 / 17
Java 8 failed as:
Java 11/17 will successed and return The reason for the difference may be that 'DD' has the following definitions in the new Java version:
|
@LuciferYang That doesn't sound like a regression . :) |
If you want, you can make a separate documentation JIRA for that, but I don't think Java 8 users will care about that. |
OK ~ got it ~ |
What changes were proposed in this pull request?
This PR aims to disable
to_timestamp('366', 'DD')
to recoveransi
test suite in Java11+.Why are the changes needed?
Currently, Daily Java 11 and 17 GitHub Action jobs are broken.
Java 8
Java 11+
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Test with Java 11+.
BEFORE
AFTER