aboutsummaryrefslogtreecommitdiff
path: root/sql/hive
diff options
context:
space:
mode:
authorscwf <wangfei1@huawei.com>2015-05-19 17:36:00 -0700
committerMichael Armbrust <michael@databricks.com>2015-05-19 17:36:00 -0700
commit60336e3bc02a2587fdf315f9011bbe7c9d3a58c4 (patch)
tree8ad1577bbb2eb1177eb196727844496c7066d11f /sql/hive
parent3860520633770cc5719b2cdebe6dc3608798386d (diff)
downloadspark-60336e3bc02a2587fdf315f9011bbe7c9d3a58c4.tar.gz
spark-60336e3bc02a2587fdf315f9011bbe7c9d3a58c4.tar.bz2
spark-60336e3bc02a2587fdf315f9011bbe7c9d3a58c4.zip
[SPARK-7656] [SQL] use CatalystConf in FunctionRegistry
follow up for #5806 Author: scwf <wangfei1@huawei.com> Closes #6164 from scwf/FunctionRegistry and squashes the following commits: 15e6697 [scwf] use catalogconf in FunctionRegistry
Diffstat (limited to 'sql/hive')
-rw-r--r--sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala
index 2733ebdb95..863a5db1bf 100644
--- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala
+++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveContext.scala
@@ -357,7 +357,7 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) {
@transient
override protected[sql] lazy val functionRegistry =
new HiveFunctionRegistry with OverrideFunctionRegistry {
- def caseSensitive: Boolean = false
+ override def conf: CatalystConf = currentSession().conf
}
/* An analyzer that uses the Hive metastore. */