MCPcopy Create free account
hub / github.com/apache/arrow / Init

Method Init

cpp/src/arrow/acero/groupby_aggregate_node.cc:62–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60namespace aggregate {
61
62Status GroupByNode::Init() {
63 output_task_group_id_ = plan_->query_context()->RegisterTaskGroup(
64 [this](size_t, int64_t task_id) { return OutputNthBatch(task_id); },
65 [](size_t) { return Status::OK(); });
66 return Status::OK();
67}
68
69Result<AggregateNodeArgs<HashAggregateKernel>> GroupByNode::MakeAggregateNodeArgs(
70 const std::shared_ptr<Schema>& input_schema, const std::vector<FieldRef>& keys,

Callers

nothing calls this directly

Calls 3

query_contextMethod · 0.80
OKFunction · 0.50
RegisterTaskGroupMethod · 0.45

Tested by

no test coverage detected