Skip to content

Conversation

@sarutak
Copy link
Member

@sarutak sarutak commented Dec 1, 2021

What changes were proposed in this pull request?

This PR fixes an issue that the test added in SPARK-37326 (#34596) fails with Java 11.
https://github.com/apache/spark/runs/4381645820?check_suite_focus=true#step:9:11681

The reason is that the error message DateTimeFormatter was changed as of Java 9.
https://bugs.openjdk.java.net/browse/JDK-8085887
http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/28df1af8e872

Why are the changes needed?

To keep the build stable.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Tests with the following command success.

JAVA_HOME=/path/to/java11/ build/sbt -Phive -Phive-thriftserver "testOnly org.apache.spark.sql.execution.datasources.csv.CSVv*Suite"

@github-actions github-actions bot added the SQL label Dec 1, 2021
@sarutak
Copy link
Member Author

sarutak commented Dec 1, 2021

cc: @sadikovi @MaxGekk

@SparkQA
Copy link

SparkQA commented Dec 1, 2021

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50294/

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. I verified locally too. Thank you, @sarutak .

@SparkQA
Copy link

SparkQA commented Dec 1, 2021

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/50294/

@SparkQA
Copy link

SparkQA commented Dec 1, 2021

Test build #145819 has finished for PR 34771 at commit 514a5e8.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

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.

3 participants