-
- Downloads
[SPARK-10845] [SQL] Makes spark.sql.hive.version a SQLConfEntry
When refactoring SQL options from plain strings to the strongly typed `SQLConfEntry`, `spark.sql.hive.version` wasn't migrated, and doesn't show up in the result of `SET -v`, as `SET -v` only shows public `SQLConfEntry` instances. This affects compatibility with Simba ODBC driver. This PR migrates this SQL option as a `SQLConfEntry` to fix this issue. Author: Cheng Lian <lian@databricks.com> Closes #8925 from liancheng/spark-10845/hive-version-conf.
Showing
- sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2.scala 0 additions, 1 deletion...pache/spark/sql/hive/thriftserver/HiveThriftServer2.scala
- sql/hive-thriftserver/src/test/scala/org/apache/spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala 27 additions, 0 deletions...spark/sql/hive/thriftserver/HiveThriftServer2Suites.scala
- sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala 5 additions, 0 deletions...rc/main/scala/org/apache/spark/sql/hive/HiveContext.scala
Please register or sign in to comment