Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/17232#discussion_r106037364
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/client/VersionsSuite.scala ---
    @@ -120,10 +121,12 @@ class VersionsSuite extends SparkFunSuite with 
Logging {
           System.gc() // Hack to avoid SEGV on some JVM versions.
           val hadoopConf = new Configuration()
           hadoopConf.set("test", "success")
    -      // Hive changed the default of datanucleus.schema.autoCreateAll from 
true to false since 2.0
    -      // For details, see the JIRA HIVE-6113
    -      if (version == "2.0") {
    +      // 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") {
    --- End diff --
    
    Is there an issue with setting these values regardless of the version? 
Adding more and more versions to this whitelist feels sub-optimal.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to