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

Method Prepare

be/src/exec/subplan-node.cc:88–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88Status SubplanNode::Prepare(RuntimeState* state) {
89 SCOPED_TIMER(runtime_profile_->total_time_counter());
90 SetContainingSubplan(this, child(1));
91 RETURN_IF_ERROR(ExecNode::Prepare(state));
92 input_batch_.reset(
93 new RowBatch(child(0)->row_desc(), state->batch_size(), mem_tracker()));
94 return Status::OK();
95}
96
97Status SubplanNode::Open(RuntimeState* state) {
98 SCOPED_TIMER(runtime_profile_->total_time_counter());

Callers

nothing calls this directly

Calls 5

OKFunction · 0.85
total_time_counterMethod · 0.80
batch_sizeMethod · 0.80
resetMethod · 0.65
row_descMethod · 0.45

Tested by

no test coverage detected