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

Method TOperationState

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

Source from the content-addressed store, hash-verified

2113}
2114
2115TOperationState::type ClientRequestState::TOperationState() const {
2116 switch (exec_state()) {
2117 case ExecState::INITIALIZED: return TOperationState::INITIALIZED_STATE;
2118 case ExecState::PENDING: return TOperationState::PENDING_STATE;
2119 case ExecState::RUNNING: return TOperationState::RUNNING_STATE;
2120 case ExecState::FINISHED: return TOperationState::FINISHED_STATE;
2121 case ExecState::ERROR: return TOperationState::ERROR_STATE;
2122 default: {
2123 DCHECK(false) << "Add explicit translation for all used ExecState values";
2124 return TOperationState::ERROR_STATE;
2125 }
2126 }
2127}
2128
2129beeswax::QueryState::type ClientRequestState::BeeswaxQueryState() const {
2130 switch (exec_state()) {

Callers 1

GetOperationStatusMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected