Skip to content

Commit dee56e9

Browse files
author
Jacky Li
committed
fix test case failure
1 parent 05b09a3 commit dee56e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ import org.apache.spark.sql.types._
5151
class HiveContext(sc: SparkContext) extends SQLContext(sc) {
5252
self =>
5353

54-
/* By default it should be case insensitive to match Hive */
55-
setConf(CatalystConf.CASE_SENSITIVE, "false")
56-
5754
protected[sql] override lazy val conf: SQLConf = new SQLConf {
5855
override def dialect: String = getConf(SQLConf.DIALECT, "hiveql")
5956
}
6057

58+
/* By default it should be case insensitive to match Hive */
59+
conf.setConf(CatalystConf.CASE_SENSITIVE, "false")
60+
6161
/**
6262
* When true, enables an experimental feature where metastore tables that use the parquet SerDe
6363
* are automatically converted to use the Spark SQL parquet table scan, instead of the Hive

0 commit comments

Comments
 (0)