Skip to content

Commit

Permalink
include hash aggregate sums
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilson committed Oct 13, 2024
1 parent 9901d1f commit 15ead92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/arrow/compute/kernels/hash_aggregate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ struct GroupedReducingAggregator : public GroupedAggregator {
template <typename T = Type>
static enable_if_decimal<T, std::shared_ptr<DataType>> GetOutType(
const std::shared_ptr<DataType>& in_type) {
return in_type;
return WidenDecimalToMaxPrecision(in_type).ValueOrDie();
}

int64_t num_groups_ = 0;
Expand Down

0 comments on commit 15ead92

Please sign in to comment.