Github user gatorsmile commented on a diff in the pull request:
https://github.com/apache/spark/pull/18853#discussion_r155364744
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala ---
@@ -1015,6 +1015,18 @@ object SQLConf {
.booleanConf
.createWithDefault(true)
+ val typeCoercionMode =
+ buildConf("spark.sql.typeCoercion.mode")
+ .doc("The 'default' typeCoercion mode was used in spark prior to
2.3, " +
+ "and so it continues to be the default to avoid breaking behavior.
" +
+ "However, it has logical inconsistencies. " +
+ "The 'hive' mode is preferred for most new applications, " +
+ "though it may require additional manual casting.")
--- End diff --
The same here.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]