MCPcopy Create free account
hub / github.com/apache/impala / Codegen

Method Codegen

be/src/exec/aggregation-node-base.cc:103–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void AggregationPlanNode::Codegen(FragmentState* state) {
104 DCHECK(state->ShouldCodegen());
105 PlanNode::Codegen(state);
106 if (IsNodeCodegenDisabled()) return;
107 for (auto& agg : aggs_) {
108 agg->Codegen(state);
109 }
110}
111
112Status AggregationNodeBase::Reset(RuntimeState* state, RowBatch* row_batch) {
113 for (auto& agg : aggs_) RETURN_IF_ERROR(agg->Reset(state, row_batch));

Callers

nothing calls this directly

Calls 1

ShouldCodegenMethod · 0.45

Tested by

no test coverage detected