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

Method Codegen

be/src/exec/partial-sort-node.cc:91–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void PartialSortPlanNode::Codegen(FragmentState* state) {
92 DCHECK(state->ShouldCodegen());
93 PlanNode::Codegen(state);
94 if (IsNodeCodegenDisabled()) return;
95 llvm::Function* compare_fn = nullptr;
96 AddCodegenStatus(row_comparator_config_->Codegen(state, &compare_fn));
97 AddCodegenStatus(
98 Sorter::TupleSorter::Codegen(state, compare_fn,
99 row_descriptor_->tuple_descriptors()[0]->byte_size(),
100 &codegend_sort_helper_fn_));
101}
102
103Status PartialSortNode::Open(RuntimeState* state) {
104 SCOPED_TIMER(runtime_profile_->total_time_counter());

Callers

nothing calls this directly

Calls 2

ShouldCodegenMethod · 0.45
byte_sizeMethod · 0.45

Tested by

no test coverage detected