cloud-fan commented on code in PR #38760: URL: https://github.com/apache/spark/pull/38760#discussion_r1031035938
########## sql/catalyst/src/main/scala/org/apache/spark/sql/types/Decimal.scala: ########## @@ -420,7 +420,11 @@ final class Decimal extends Ordered[Decimal] with Serializable { // have overflowed our Long; in either case we must rescale dv to the new scale. dv = dv.setScale(scale, roundMode) if (dv.precision > precision) { Review Comment: what is the precision of `BigDecimal` in this case? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org