We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64dc5eb commit 2c674afCopy full SHA for 2c674af
velox/functions/sparksql/aggregates/DecimalSumAggregate.h
@@ -74,7 +74,7 @@ class DecimalSumAggregate : public exec::Aggregate {
74
75
auto [resultPrecision, resultScale] =
76
getDecimalPrecisionScale(*sumType_.get());
77
- overflow = !DecimalUtil::valueInRangeWithPrecision(sum, resultPrecision);
+ overflow = !DecimalUtil::valueInPrecisionRange(sum, resultPrecision);
78
return sum;
79
}
80
0 commit comments