[SPARK-45300][SQL][TESTS] Remove JDK 8 workaround in TimestampFormatterSuite#43085
Closed
HyukjinKwon wants to merge 2 commits intoapache:masterfrom
Closed
[SPARK-45300][SQL][TESTS] Remove JDK 8 workaround in TimestampFormatterSuite#43085HyukjinKwon wants to merge 2 commits intoapache:masterfrom
HyukjinKwon wants to merge 2 commits intoapache:masterfrom
Conversation
Member
Author
|
cc @yaooqinn |
c79c0e6 to
d156b34
Compare
HyukjinKwon
commented
Sep 25, 2023
| val micros2 = formatter.parse("2009-12-12 12 am") | ||
| assert(micros2 === date(2009, 12, 12, 12)) | ||
| } | ||
| intercept[DateTimeException](formatter.parse("2009-12-12 12 am")) |
Member
Author
wangyum
approved these changes
Sep 25, 2023
Member
dongjoon-hyun
left a comment
There was a problem hiding this comment.
Could you fix the compilation issue (due to the unused import), @HyukjinKwon ?
[error] /Users/dongjoon/APACHE/spark-merge/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/util/TimestampFormatterSuite.scala:22:34: Unused import
[error] import org.apache.commons.lang3.{JavaVersion, SystemUtils}
[error] ^
[error] /Users/dongjoon/APACHE/spark-merge/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/util/TimestampFormatterSuite.scala:22:47: Unused import
[error] import org.apache.commons.lang3.{JavaVersion, SystemUtils}
[error] ^
Member
|
I manually verified this. Merged to master. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR removes the legacy workaround for JDK 8 in #28736.
Why are the changes needed?
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Fixed unittests.
Was this patch authored or co-authored using generative AI tooling?
No.