icexelloss commented on code in PR #34885:
URL: https://github.com/apache/arrow/pull/34885#discussion_r1157360377
##########
cpp/src/arrow/acero/aggregate_node.cc:
##########
@@ -703,7 +635,7 @@ class GroupByNode : public ExecNode, public TracedNode {
{"function.kind", std::string(kind_name()) +
"::Consume"}});
auto ctx = plan_->query_context()->exec_context();
KernelContext kernel_ctx{ctx};
- kernel_ctx.SetState(state->agg_states[i].get());
+ kernel_ctx.SetState(state->agg_states[i][0].get());
Review Comment:
Why this change?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]