Skip to content
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-40851][INFRA ][SQL][TESTS][3.3] Make GA run successfully with the latest Java 8/11/17 #38363

Closed
wants to merge 1 commit into from

Conversation

LuciferYang
Copy link
Contributor

What changes were proposed in this pull request?

The main change of this pr as follows:

  • Replace Antarctica/Vostok to Asia/Urumqi in Spark code
  • Replace Europe/Amsterdam to Europe/Brussels in Spark code
  • Regenerate gregorian-julian-rebase-micros.json using generate 'gregorian-julian-rebase-micros.json' in RebaseDateTimeSuite with Java 8u352
  • Regenerate julian-gregorian-rebase-micros.json using generate 'julian-gregorian-rebase-micros.json' in RebaseDateTimeSuite with Java 8u352

Why are the changes needed?

Make GA run successfully with the latest Java 8/11/17:

  • Java 8u352
  • Java 11.0.17
  • Java 17.0.5

Does this PR introduce any user-facing change?

No

How was this patch tested?

  • Pass GitHub Actions
  • Manual test: the following commands can test pass with Java 8u345, 8u352, 11.0.16, 11.0.17, 17.0.4 and 17.0.5
    • build/sbt "catalyst/test"
    • build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ltz.sql\""
    • build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ntz.sql\""

…atest Java 8/11/17

The main change of this pr as follows:

- Replace `Antarctica/Vostok` to `Asia/Urumqi` in Spark code
- Replace `Europe/Amsterdam` to `Europe/Brussels` in Spark code
- Regenerate `gregorian-julian-rebase-micros.json` using generate 'gregorian-julian-rebase-micros.json' in `RebaseDateTimeSuite` with Java 8u352
- Regenerate `julian-gregorian-rebase-micros.json` using generate 'julian-gregorian-rebase-micros.json' in RebaseDateTimeSuite with Java 8u352
- Revert change of SPARK-40846

Make GA run successfully with the latest Java 8/11/17:

- Java 8u352
- Java 11.0.17
- Java 17.0.5

No

- Pass GitHub Actions
- Manual test: the following commands can test pass with Java 8u345, 8u352, 11.0.16, 11.0.17, 17.0.4 and 17.0.5
   - `build/sbt "catalyst/test"`
   - `build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ltz.sql\""`
   - `build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ntz.sql\""`

Closes apache#38317 from LuciferYang/SPARK-40851.

Lead-authored-by: yangjie01 <yangjie01@baidu.com>
Co-authored-by: YangJie <yangjie01@baidu.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
@LuciferYang
Copy link
Contributor Author

waiting ci

@LuciferYang
Copy link
Contributor Author

image

3.3 passed

@HyukjinKwon
Copy link
Member

Merged to branch-3.3.

HyukjinKwon pushed a commit that referenced this pull request Oct 24, 2022
…the latest Java 8/11/17

### What changes were proposed in this pull request?
The main change of this pr as follows:

- Replace `Antarctica/Vostok` to `Asia/Urumqi` in Spark code
- Replace `Europe/Amsterdam` to `Europe/Brussels` in Spark code
- Regenerate `gregorian-julian-rebase-micros.json` using generate 'gregorian-julian-rebase-micros.json' in `RebaseDateTimeSuite` with Java 8u352
- Regenerate `julian-gregorian-rebase-micros.json` using generate 'julian-gregorian-rebase-micros.json' in RebaseDateTimeSuite with Java 8u352

### Why are the changes needed?
Make GA run successfully with the latest Java 8/11/17:

- Java 8u352
- Java 11.0.17
- Java 17.0.5

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?

- Pass GitHub Actions
- Manual test: the following commands can test pass with Java 8u345, 8u352, 11.0.16, 11.0.17, 17.0.4 and 17.0.5
   - `build/sbt "catalyst/test"`
   - `build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ltz.sql\""`
   - `build/sbt "sql/testOnly *SQLQueryTestSuite -- -t \"timestamp-ntz.sql\""`

Closes #38363 from LuciferYang/SPARK-40851-33.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
@LuciferYang
Copy link
Contributor Author

thanks @HyukjinKwon @MaxGekk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants