gengliangwang commented on code in PR #43781:
URL: https://github.com/apache/spark/pull/43781#discussion_r1393339460
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -4541,6 +4541,15 @@ object SQLConf {
.booleanConf
.createWithDefault(false)
+ val LEGACY_RETAIN_FRACTION_DIGITS_FIRST =
+
buildConf("spark.sql.legacy.decimalLeastCommonType.retainFractionDigitsFirst")
Review Comment:
TBH the conf is a bit long.
How about `spark.sql.legacy.decimal.retainFractionDigitsOnTruncate`. But the
naming really depends on the scrope of the behavior change as I asked in
https://github.com/apache/spark/pull/43781/files#r1393331222
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]