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 27198b3 commit 4af2ca6Copy full SHA for 4af2ca6
velox/functions/sparksql/aggregates/DecimalAvgAggregate.h
@@ -36,7 +36,7 @@ class DecimalAverageAggregate : public exec::Aggregate {
36
}
37
38
int32_t accumulatorAlignmentSize() const override {
39
- return sizeof(LongDecimalWithOverflowState);
+ return static_cast<int32_t>(sizeof(int128_t));
40
41
42
void initializeNewGroups(
velox/functions/sparksql/aggregates/DecimalSumAggregate.h
@@ -42,7 +42,7 @@ class DecimalSumAggregate : public exec::Aggregate {
43
44
45
- return sizeof(DecimalSum<TAccumulator>);
+ return static_cast<int32_t>(sizeof(TAccumulator));
46
47
48
0 commit comments