| 89 | } |
| 90 | |
| 91 | void 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 | |
| 103 | Status PartialSortNode::Open(RuntimeState* state) { |
| 104 | SCOPED_TIMER(runtime_profile_->total_time_counter()); |
nothing calls this directly
no test coverage detected