Skip to content

Commit 7fc4a98

Browse files
committed
fix test case
1 parent d5a9933 commit 7fc4a98

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/test/TestHive.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ class TestHiveContext(sc: SparkContext) extends HiveContext(sc) {
109109
protected[sql] override lazy val conf: SQLConf = new SQLConf {
110110
override def numShufflePartitions: Int = getConf(SQLConf.SHUFFLE_PARTITIONS, "5").toInt
111111
override def dialect: String = getConf(SQLConf.DIALECT, "hiveql")
112-
setConf(CatalystConf.CASE_SENSITIVE, "false")
112+
override def caseSensitiveAnalysis: Boolean =
113+
getConf(CatalystConf.CASE_SENSITIVE, "false").toBoolean
113114
}
114115
}
115116

0 commit comments

Comments
 (0)