mahendra-osc commented on a change in pull request #23626: [SPARK-21646][SQL]
Add new type coercion to compatible with Hive
URL: https://github.com/apache/spark/pull/23626#discussion_r251177458
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1334,6 +1334,15 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val typeCoercionMode =
+ buildConf("spark.sql.typeCoercion.mode")
+ .doc("Since Spark 2.4, the 'hive' mode is introduced for Hive
compatiblity. " +
+ "Spark SQL has its native type cocersion mode, which is enabled by
default.")
Review comment:
I like that you added documentation. Did you mean "coercion" rather than
"cocersion"?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]