You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/01/18 22:19:17 UTC

[GitHub] gatorsmile commented on a change in pull request #23587: [SPARK-26664][SQL] Make DecimalType's minimum adjusted scale configurable

gatorsmile commented on a change in pull request #23587: [SPARK-26664][SQL] Make DecimalType's minimum adjusted scale configurable
URL: https://github.com/apache/spark/pull/23587#discussion_r249202603
 
 

 ##########
 File path: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
 ##########
 @@ -1347,6 +1347,15 @@ object SQLConf {
       .booleanConf
       .createWithDefault(true)
 
+  val DECIMAL_OPERATIONS_MINIMUM_ADJUSTED_SCALE =
+    buildConf("spark.sql.decimalOperations.minimumAdjustedScale")
+      .internal()
+      .doc("Decimal operations' minimum adjusted scale when " +
 
 Review comment:
   I think this is still hacky and it does not resolve the root issue. Let us think about it and see whether we have a better solution. I change the target version to 3.0. We will revisit this before the code freeze of 3.0. If we do not have a solution, we can review this again. 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org