Changes

Summary

  1. [SPARK-37326][SQL][FOLLOWUP] Fix the test for Java 11 (details)
Commit 40b239ca7291dfb2abb2d270069639091f7675d7 by dongjoon
[SPARK-37326][SQL][FOLLOWUP] Fix the test for Java 11

### 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"
```

Closes #34771 from sarutak/followup-SPARK-37326.

Authored-by: Kousuke Saruta <sarutak@oss.nttdata.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
The file was modifiedsql/core/src/test/scala/org/apache/spark/sql/execution/datasources/csv/CSVSuite.scala (diff)