GitHub user gatorsmile opened a pull request: https://github.com/apache/spark/pull/17260
[SPARK-19921] [SQL] [TEST] Enable end-to-end testing using different Hive metastore versions. ### What changes were proposed in this pull request? To improve the quality of our Spark SQL in different Hive metastore versions, this PR is to enable end-to-end testing using different versions. This PR allows the test cases in sql/hive to pass the existing Hive client to create a SparkSession. - Since Derby does not allow concurrent connections, the pre-built Hive clients use different database from the TestHive's built-in 1.2.1 client. - Since our test cases in sql/hive only can create a single Spark context in the same JVM, the newly created SparkSession share the same spark context with the existing TestHive's corresponding SparkSession. ### How was this patch tested? Fixed the existing test cases. You can merge this pull request into a Git repository by running: $ git pull https://github.com/gatorsmile/spark versionSuite Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/17260.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #17260 ---- commit e0887d0568eb04392801f0d44901b4bb1d555cf6 Author: Xiao Li <gatorsm...@gmail.com> Date: 2017-03-11T19:04:07Z fix. ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org