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

Method MergeStatus

be/src/common/status.cc:213–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void Status::MergeStatus(const Status& status) {
214 if (status.ok()) return;
215 if (msg_ == NULL) {
216 msg_ = new ErrorMsg(*status.msg_);
217 } else {
218 msg_->AddDetail(status.msg().msg());
219 for (const string& s: status.msg_->details()) msg_->AddDetail(s);
220 }
221}
222
223const string Status::GetDetail() const {
224 return msg_ != NULL ? msg_->GetFullMessageDetails() : "";

Callers 15

TryKillQueryRemotelyMethod · 0.80
AddTableResetHintsMethod · 0.80
ExpireQueriesMethod · 0.80
ParseQueryOptionsMethod · 0.80
CodegenMethod · 0.80
CreateNewTmpFileMethod · 0.80
WriteRowsToFileMethod · 0.80
ReadValueBatchMethod · 0.80

Calls 2

okMethod · 0.45
AddDetailMethod · 0.45

Tested by 1

SenderMethod · 0.64