Skip to content

Commit 7b767bf

Browse files
committed
still keep spark.sql.hive.version
1 parent 1c923d7 commit 7b767bf

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ private[spark] object HiveUtils extends Logging {
6666
.stringConf
6767
.createWithDefault(builtinHiveVersion)
6868

69+
// A deprecated config which is only used to provide a default value, in case some existing
70+
// applications depend on this config, e.g. Spark SQL ODBC driver.
71+
val HIVE_EXECUTION_VERSION = buildConf("spark.sql.hive.version")
72+
.stringConf
73+
.createWithDefault(builtinHiveVersion)
74+
6975
val HIVE_METASTORE_JARS = buildConf("spark.sql.hive.metastore.jars")
7076
.doc(s"""
7177
| Location of the jars that should be used to instantiate the HiveMetastoreClient.

0 commit comments

Comments
 (0)