Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/19552#discussion_r146385329
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala ---
@@ -388,7 +388,7 @@ object SQLConf {
.stringConf
.transform(_.toUpperCase(Locale.ROOT))
.checkValues(HiveCaseSensitiveInferenceMode.values.map(_.toString))
-
.createWithDefault(HiveCaseSensitiveInferenceMode.INFER_AND_SAVE.toString)
+ .createWithDefault(HiveCaseSensitiveInferenceMode.NEVER_INFER.toString)
--- End diff --
We can improve the documentation instead of changing the default.
If my understanding is right, this occurs only when Spark SQL tries to read
the table created by the other tables.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]