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

Method FlushFinal

be/src/exec/blocking-plan-root-sink.cc:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86Status BlockingPlanRootSink::FlushFinal(RuntimeState* state) {
87 SCOPED_TIMER(profile()->total_time_counter());
88 unique_lock<mutex> l(lock_);
89 sender_state_ = SenderState::EOS;
90 // All rows have been sent by the producer, so wake up the producer so it can set eos to
91 // true.
92 consumer_cv_.NotifyAll();
93 return Status::OK();
94}
95
96void BlockingPlanRootSink::Close(RuntimeState* state) {
97 SCOPED_TIMER(profile()->total_time_counter());

Callers

nothing calls this directly

Calls 3

OKFunction · 0.85
total_time_counterMethod · 0.80
NotifyAllMethod · 0.80

Tested by

no test coverage detected