We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ad9ca7 commit e51023eCopy full SHA for e51023e
datafusion/common/src/utils/aggregate.rs
@@ -146,7 +146,7 @@ pub(crate) fn scalar_sum(values: &[ScalarValue]) -> Result<ScalarValue> {
146
for sv in $values {
147
if let ScalarValue::$VARIANT(Some(v)) = sv {
148
if has_value {
149
- acc = acc + *v;
+ acc += *v;
150
} else {
151
acc = *v;
152
has_value = true;
0 commit comments