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

Method Codegen

be/src/exec/grouping-aggregator.cc:202–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200}
201
202void GroupingAggregatorConfig::Codegen(FragmentState* state) {
203 LlvmCodeGen* codegen = state->codegen();
204 DCHECK(codegen != nullptr);
205 TPrefetchMode::type prefetch_mode = state->query_options().prefetch_mode;
206 Status status = is_streaming_preagg_ ?
207 CodegenAddBatchStreamingImpl(codegen, prefetch_mode) :
208 CodegenAddBatchImpl(codegen, prefetch_mode);
209 codegen_status_msg_ = FragmentState::GenerateCodegenMsg(status.ok(), status);
210}
211
212Status GroupingAggregator::Open(RuntimeState* state) {
213 RETURN_IF_ERROR(Aggregator::Open(state));

Callers

nothing calls this directly

Calls 2

codegenMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected