Skip to content

Commit e760f52

Browse files
committed
set cmd only shows the changed vars / expand aviable hive version to 2.1.1
1 parent 6071926 commit e760f52

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -525,19 +525,6 @@ class HiveThriftBinaryServerSuite extends HiveThriftJdbcTest {
525525
}
526526
}
527527

528-
test("Checks Hive version via SET") {
529-
withJdbcStatement() { statement =>
530-
val resultSet = statement.executeQuery("SET")
531-
532-
val conf = mutable.Map.empty[String, String]
533-
while (resultSet.next()) {
534-
conf += resultSet.getString(1) -> resultSet.getString(2)
535-
}
536-
537-
assert(conf.get("spark.sql.hive.metastore.version") === Some("1.2.1"))
538-
}
539-
}
540-
541528
test("SPARK-11595 ADD JAR with input path having URL scheme") {
542529
withJdbcStatement("test_udtf") { statement =>
543530
try {

sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private[spark] object HiveUtils extends Logging {
6262

6363
val HIVE_METASTORE_VERSION = buildConf("spark.sql.hive.metastore.version")
6464
.doc("Version of the Hive metastore. Available options are " +
65-
s"<code>0.12.0</code> through <code>$builtinHiveVersion</code>.")
65+
s"<code>0.12.0</code> through <code>2.1.1</code>.")
6666
.stringConf
6767
.createWithDefault(builtinHiveVersion)
6868

0 commit comments

Comments
 (0)