File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
sql/catalyst/src/main/scala/org/apache/spark/sql/internal Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -584,6 +584,7 @@ object SQLConf {
584584 }
585585
586586 val HIVE_CASE_SENSITIVE_INFERENCE = buildConf(" spark.sql.hive.caseSensitiveInferenceMode" )
587+ .internal()
587588 .doc(" Sets the action to take when a case-sensitive schema cannot be read from a Hive " +
588589 " table's properties. Although Spark SQL itself is not case-sensitive, Hive compatible file " +
589590 " formats such as Parquet are. Spark SQL must use a case-preserving schema when querying " +
@@ -596,7 +597,7 @@ object SQLConf {
596597 .stringConf
597598 .transform(_.toUpperCase(Locale .ROOT ))
598599 .checkValues(HiveCaseSensitiveInferenceMode .values.map(_.toString))
599- .createWithDefault(HiveCaseSensitiveInferenceMode .INFER_AND_SAVE .toString)
600+ .createWithDefault(HiveCaseSensitiveInferenceMode .NEVER_INFER .toString)
600601
601602 val OPTIMIZER_METADATA_ONLY = buildConf(" spark.sql.optimizer.metadataOnly" )
602603 .internal()
You can’t perform that action at this time.
0 commit comments