| 127 | } |
| 128 | |
| 129 | Status IcebergMergeNode::Prepare(RuntimeState* state) { |
| 130 | SCOPED_TIMER(runtime_profile_->total_time_counter()); |
| 131 | RETURN_IF_ERROR(ExecNode::Prepare(state)); |
| 132 | |
| 133 | RETURN_IF_ERROR(ScalarExprEvaluator::Create(*row_present_, state, state->obj_pool(), |
| 134 | expr_perm_pool_.get(), expr_results_pool_.get(), &row_present_evaluator_)); |
| 135 | |
| 136 | RETURN_IF_ERROR( |
| 137 | ScalarExprEvaluator::Create(row_meta_exprs_, state, state->obj_pool(), |
| 138 | expr_perm_pool_.get(), expr_results_pool_.get(), &row_meta_evaluators_)); |
| 139 | |
| 140 | RETURN_IF_ERROR( |
| 141 | ScalarExprEvaluator::Create(partition_meta_exprs_, state, state->obj_pool(), |
| 142 | expr_perm_pool_.get(), expr_results_pool_.get(), &partition_meta_evaluators_)); |
| 143 | |
| 144 | for (auto* merge_case : all_cases_) { |
| 145 | RETURN_IF_ERROR(merge_case->Prepare(state, *this)); |
| 146 | } |
| 147 | |
| 148 | return Status::OK(); |
| 149 | } |
| 150 | |
| 151 | Status IcebergMergeNode::Open(RuntimeState* state) { |
| 152 | SCOPED_TIMER(runtime_profile_->total_time_counter()); |
nothing calls this directly
no test coverage detected