[SPARK-32876][SQL] Change default fallback versions to 3.0.1 and 2.4.7 in HiveExternalCatalogVersionsSuite

### What changes were proposed in this pull request?

The Jenkins job fails to get the versions. This was fixed by adding temporary fallbacks at https://github.com/apache/spark/pull/28536.
This still doesn't work without the temporary fallbacks. See https://github.com/apache/spark/pull/29694

This PR adds new fallbacks since 2.3 is EOL and Spark 3.0.1 and 2.4.7 are released.

### Why are the changes needed?

To test correctly in Jenkins.

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

No, dev-only

### How was this patch tested?

Jenkins and GitHub Actions builds should test.

Closes #29748 from HyukjinKwon/SPARK-32876.

Authored-by: HyukjinKwon <gurwls223@apache.org>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This commit is contained in:
HyukjinKwon 2020-09-14 13:54:21 -07:00 committed by Dongjoon Hyun
parent 7a17158a4d
commit 0696f04672

View file

@ -243,7 +243,7 @@ object PROCESS_TABLES extends QueryTest with SQLTestUtils {
.filter(_ < org.apache.spark.SPARK_VERSION) .filter(_ < org.apache.spark.SPARK_VERSION)
} catch { } catch {
// do not throw exception during object initialization. // do not throw exception during object initialization.
case NonFatal(_) => Seq("2.3.4", "2.4.5") // A temporary fallback to use a specific version case NonFatal(_) => Seq("3.0.1", "2.4.7") // A temporary fallback to use a specific version
} }
} }