Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/20668#discussion_r170441161
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/client/VersionsSuite.scala ---
@@ -125,7 +126,7 @@ class VersionsSuite extends SparkFunSuite with Logging {
// Hive changed the default of datanucleus.schema.autoCreateAll from
true to false and
// hive.metastore.schema.verification from false to true since 2.0
// For details, see the JIRA HIVE-6113 and HIVE-12463
- if (version == "2.0" || version == "2.1") {
+ if (version.split("\\.").head.toInt > 1) {
--- End diff --
```Scala
if (version == "2.0" || version == "2.1" || version == "2.2" || version ==
"2.3") {
```
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]