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

Method Open

be/src/exec/select-node.cc:82–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82Status SelectNode::Open(RuntimeState* state) {
83 SCOPED_TIMER(runtime_profile_->total_time_counter());
84 ScopedOpenEventAdder ea(this);
85 RETURN_IF_ERROR(ExecNode::Open(state));
86 RETURN_IF_ERROR(child(0)->Open(state));
87 child_row_batch_.reset(
88 new RowBatch(child(0)->row_desc(), state->batch_size(), mem_tracker()));
89 return Status::OK();
90}
91
92Status SelectNode::GetNext(RuntimeState* state, RowBatch* row_batch, bool* eos) {
93 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