Skip to content

Commit 5d7c456

Browse files
committed
set CASE_SENSITIVE false in TestHive
1 parent 966e719 commit 5d7c456

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sql/hive/src/main/scala/org/apache/spark/sql/hive/test/TestHive.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import org.apache.spark.{SparkConf, SparkContext}
3939

4040
import scala.collection.mutable
4141
import scala.language.implicitConversions
42+
import org.apache.spark.sql.catalyst.CatalystConf
4243

4344
/* Implicit conversions */
4445
import scala.collection.JavaConversions._
@@ -108,6 +109,7 @@ class TestHiveContext(sc: SparkContext) extends HiveContext(sc) {
108109
protected[sql] override lazy val conf: SQLConf = new SQLConf {
109110
override def numShufflePartitions: Int = getConf(SQLConf.SHUFFLE_PARTITIONS, "5").toInt
110111
override def dialect: String = getConf(SQLConf.DIALECT, "hiveql")
112+
setConf(CatalystConf.CASE_SENSITIVE, "false")
111113
}
112114
}
113115

0 commit comments

Comments
 (0)