Skip to content

Commit 6db4bf5

Browse files
committed
also fix for HiveContext
1 parent 7fc4a98 commit 6db4bf5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,8 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) {
262262
protected[hive] class SQLSession extends super.SQLSession {
263263
protected[sql] override lazy val conf: SQLConf = new SQLConf {
264264
override def dialect: String = getConf(SQLConf.DIALECT, "hiveql")
265-
setConf(CatalystConf.CASE_SENSITIVE, "false")
265+
override def caseSensitiveAnalysis: Boolean =
266+
getConf(CatalystConf.CASE_SENSITIVE, "false").toBoolean
266267
}
267268

268269
protected[hive] lazy val hiveconf: HiveConf = {

0 commit comments

Comments
 (0)