File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
sql/hive/src/main/scala/org/apache/spark/sql/hive Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ class LocalHiveContext(sc: SparkContext) extends HiveContext(sc) {
7373class HiveContext (sc : SparkContext ) extends SQLContext (sc) {
7474 self =>
7575
76+ /* By default it should be case insensitive to match Hive */
77+ setConf(CatalystConf .CASE_SENSITIVE , " false" )
78+
7679 // Change the default SQL dialect to HiveQL
7780 override private [spark] def dialect : String = getConf(SQLConf .DIALECT , " hiveql" )
7881
@@ -249,9 +252,6 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) {
249252 runSqlHive(s " SET $key= $value" )
250253 }
251254
252- /* By default it should be case insensitive to match Hive */
253- this .setConf(CatalystConf .CASE_SENSITIVE , " false" )
254-
255255 /* A catalyst metadata catalog that points to the Hive Metastore. */
256256 @ transient
257257 override protected [sql] lazy val catalog =
You can’t perform that action at this time.
0 commit comments