-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-31426][SQL] Fix perf regressions of toJavaTimestamp/fromJavaTimestamp #28189
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
Changes from all commits
a56c752
794cc5e
fd06ecc
94dc31e
055ac97
b331ad8
5dc9a3a
a28f2a1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -496,8 +496,8 @@ class DateTimeUtilsSuite extends SparkFunSuite with Matchers with SQLHelper { | |
| test("2016-03-13 02:00:00", tz, "2016-03-13 10:00:00.0") | ||
| test("2016-03-13 03:00:00", tz, "2016-03-13 10:00:00.0") | ||
| test("2016-11-06 00:59:59", tz, "2016-11-06 07:59:59.0") | ||
| test("2016-11-06 01:00:00", tz, "2016-11-06 08:00:00.0") | ||
| test("2016-11-06 01:59:59", tz, "2016-11-06 08:59:59.0") | ||
| test("2016-11-06 01:00:00", tz, "2016-11-06 09:00:00.0") | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. what's the behavior of Spark 2.4?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See the same test in 2.4 https://github.com/apache/spark/blob/branch-2.4/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/util/DateTimeUtilsSuite.scala#L580-L581 but it sets PST time zone.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. as we have looked into the JDK code before, PST is treated as LA. So the behavior is the same as 2.4, and it's great! can we highlight it in the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
| test("2016-11-06 01:59:59", tz, "2016-11-06 09:59:59.0") | ||
| test("2016-11-06 02:00:00", tz, "2016-11-06 10:00:00.0") | ||
| } | ||
| } | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.
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.
This seems to be missing in
branch-3.0.