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

Method TryKillQueryLocally

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

Source from the content-addressed store, hash-verified

2656}
2657
2658Status ClientRequestState::TryKillQueryLocally(
2659 const TUniqueId& query_id, const string& requesting_user, bool is_admin) {
2660 Status status = ExecEnv::GetInstance()->impala_server()->KillQuery(
2661 query_id, requesting_user, is_admin);
2662 if (status.ok()) {
2663 SetResultSet({Substitute("Query $0 is killed.", PrintId(query_id))});
2664 return query_status_;
2665 }
2666 return status;
2667}
2668
2669Status ClientRequestState::TryKillQueryRemotely(
2670 const TUniqueId& query_id, const KillQueryRequestPB& request) {

Callers

nothing calls this directly

Calls 5

SubstituteFunction · 0.85
PrintIdFunction · 0.85
KillQueryMethod · 0.45
impala_serverMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected