xuanyuanking commented on a change in pull request #24041: [SPARK-27119][SQL]
Do not infer schema when reading Hive serde table with native data source
URL: https://github.com/apache/spark/pull/24041#discussion_r264018091
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -596,7 +597,7 @@ object SQLConf {
.stringConf
.transform(_.toUpperCase(Locale.ROOT))
.checkValues(HiveCaseSensitiveInferenceMode.values.map(_.toString))
- .createWithDefault(HiveCaseSensitiveInferenceMode.INFER_AND_SAVE.toString)
+ .createWithDefault(HiveCaseSensitiveInferenceMode.NEVER_INFER.toString)
Review comment:
https://github.com/apache/spark/pull/24041/files#diff-9a6b543db706f1a90f790783d6930a13R592
nit for the doc, the INFER_AND_SAVE is no longer the default. Should we
mention this in migrate guide?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]