Skip to content

Conversation

@MaxGekk
Copy link
Member

@MaxGekk MaxGekk commented Jun 15, 2020

What changes were proposed in this pull request?

Old JDK can have outdated time zone database in which Asia/Hong_Kong doesn't have timestamp overlapping in 1945 at all. This PR changes the test "SPARK-31959: JST -> HKT at Asia/Hong_Kong in 1945" in RebaseDateTimeSuite, and makes it tolerant to the case.

Why are the changes needed?

To fix the test failures on old JDK w/ outdated tzdb like on Jenkins machine research-jenkins-worker-09.

Does this PR introduce any user-facing change?

No

How was this patch tested?

By running the test on old JDK

@MaxGekk
Copy link
Member Author

MaxGekk commented Jun 15, 2020

@HyukjinKwon @cloud-fan @dongjoon-hyun Please, review this PR.

@SparkQA
Copy link

SparkQA commented Jun 15, 2020

Test build #124047 has finished for PR 28832 at commit 55e18b6.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@MaxGekk
Copy link
Member Author

MaxGekk commented Jun 15, 2020

The issue #28832 (comment) is fixed by #28816

@MaxGekk
Copy link
Member Author

MaxGekk commented Jun 15, 2020

jenkins, retest this, please

@SparkQA
Copy link

SparkQA commented Jun 15, 2020

Test build #124052 has finished for PR 28832 at commit 55e18b6.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun
Copy link
Member

Thank you, @MaxGekk and @cloud-fan .
The UT failure seems to be related to #28797 (not this one).

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Merged to master.

MaxGekk added a commit to MaxGekk/spark that referenced this pull request Jun 15, 2020
…-> HKT at Asia/Hong_Kong in 1945" to outdated tzdb

Old JDK can have outdated time zone database in which `Asia/Hong_Kong` doesn't have timestamp overlapping in 1946 at all. This PR changes the test "SPARK-31959: JST -> HKT at Asia/Hong_Kong in 1945" in `RebaseDateTimeSuite`, and makes it tolerant to the case.

To fix the test failures on old JDK w/ outdated tzdb like on Jenkins machine `research-jenkins-worker-09`.

No

By running the test on old JDK

Closes apache#28832 from MaxGekk/HongKong-tz-1945-followup.

Authored-by: Max Gekk <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit eae1747)
Signed-off-by: Max Gekk <[email protected]>
@MaxGekk MaxGekk deleted the HongKong-tz-1945-followup branch December 11, 2020 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants