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

Method UpdateQueryStatus

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

Source from the content-addressed store, hash-verified

1518}
1519
1520Status ClientRequestState::UpdateQueryStatus(const Status& status, bool log_error) {
1521 // Preserve the first non-ok status
1522 if (!status.ok() && query_status_.ok()) {
1523 UpdateExecState(ExecState::ERROR);
1524 query_status_ = status;
1525 summary_profile_->AddInfoStringRedacted(QUERY_STATUS_KEY, query_status_.GetDetail());
1526 if (log_error) VLOG_QUERY << status.GetDetail();
1527 }
1528
1529 return status;
1530}
1531
1532Status ClientRequestState::FetchRowsInternal(const int32_t max_rows,
1533 QueryResultSet* fetched_rows, int64_t block_on_wait_time_us) {

Callers 1

HandleRetryFailureMethod · 0.80

Calls 3

AddInfoStringRedactedMethod · 0.80
GetDetailMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected