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

Method UpdateExecState

be/src/service/client-request-state.cc:2090–2099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2088}
2089
2090void ClientRequestState::UpdateExecState(ExecState exec_state) {
2091 {
2092 lock_guard<mutex> l(exec_state_lock_);
2093 exec_state_.Store(exec_state);
2094 summary_profile_->AddInfoString("Query State", PrintValue(BeeswaxQueryState()));
2095 summary_profile_->AddInfoString("Impala Query State", ExecStateToString(exec_state));
2096 }
2097 // Drop exec_state_lock_ before signalling
2098 exec_state_cv_.NotifyAll();
2099}
2100
2101void ClientRequestState::WaitForCompletionExecState() {
2102 if (query_options().long_polling_time_ms <= 0) return;

Callers

nothing calls this directly

Calls 4

PrintValueFunction · 0.85
AddInfoStringMethod · 0.80
NotifyAllMethod · 0.80
StoreMethod · 0.45

Tested by

no test coverage detected