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

Method ExecAsync

be/src/service/child-query.cc:189–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189Status ChildQueryExecutor::ExecAsync(vector<ChildQuery>&& child_queries) {
190 DCHECK(!child_queries.empty());
191 lock_guard<SpinLock> lock(lock_);
192 DCHECK(child_queries_.empty());
193 DCHECK(child_queries_thread_.get() == NULL);
194 if (is_cancelled_) return Status::OK();
195 child_queries_ = move(child_queries);
196 RETURN_IF_ERROR(Thread::Create("query-exec-state", "async child queries",
197 bind(&ChildQueryExecutor::ExecChildQueries, this), &child_queries_thread_));
198 is_running_ = true;
199 return Status::OK();
200}
201
202void ChildQueryExecutor::ExecChildQueries() {
203 for (ChildQuery& child_query : child_queries_) {

Callers 3

Calls 6

OKFunction · 0.85
moveFunction · 0.85
CreateClass · 0.85
bindFunction · 0.85
getMethod · 0.65
emptyMethod · 0.45

Tested by

no test coverage detected