Github user mgaido91 commented on a diff in the pull request: https://github.com/apache/spark/pull/22494#discussion_r219493091 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala --- @@ -1345,6 +1345,16 @@ object SQLConf { .booleanConf .createWithDefault(true) + val LITERAL_PRECISE_PRECISION = + buildConf("spark.sql.literal.precisePrecision") + .internal() + .doc("When integral literals are used with decimals in binary operators, Spark will " + + "pick a precise precision for the literals to calculate the precision and scale " + --- End diff -- `a precise precision` -> `the minimal precision required to represent the given value`?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org