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) {
73
73
class HiveContext (sc : SparkContext ) extends SQLContext (sc) {
74
74
self =>
75
75
76
+ /* By default it should be case insensitive to match Hive */
77
+ setConf(CatalystConf .CASE_SENSITIVE , " false" )
78
+
76
79
// Change the default SQL dialect to HiveQL
77
80
override private [spark] def dialect : String = getConf(SQLConf .DIALECT , " hiveql" )
78
81
@@ -249,9 +252,6 @@ class HiveContext(sc: SparkContext) extends SQLContext(sc) {
249
252
runSqlHive(s " SET $key= $value" )
250
253
}
251
254
252
- /* By default it should be case insensitive to match Hive */
253
- this .setConf(CatalystConf .CASE_SENSITIVE , " false" )
254
-
255
255
/* A catalyst metadata catalog that points to the Hive Metastore. */
256
256
@ transient
257
257
override protected [sql] lazy val catalog =
You can’t perform that action at this time.
0 commit comments