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

Method UpdateExecSummary

be/src/service/impala-server.cc:1633–1643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1631}
1632
1633void ImpalaServer::UpdateExecSummary(const QueryHandle& query_handle) const {
1634 DCHECK(query_handle->GetCoordinator() != nullptr);
1635 TExecSummary t_exec_summary;
1636 query_handle->GetCoordinator()->GetTExecSummary(&t_exec_summary);
1637 query_handle->summary_profile()->SetTExecSummary(t_exec_summary);
1638 string exec_summary = PrintExecSummary(t_exec_summary);
1639 query_handle->summary_profile()->AddInfoStringRedacted("ExecSummary", exec_summary);
1640 vector<string> errors = query_handle->GetAnalysisWarnings();
1641 errors.emplace_back(query_handle->GetCoordinator()->GetErrorLog());
1642 query_handle->summary_profile()->AddInfoStringRedacted("Errors", join(errors, "\n"));
1643}
1644
1645// Returns the plan nodes that have HBO keys set in the Frontend.
1646static void GetPlanNodesWithHboKeys(

Callers

nothing calls this directly

Calls 8

PrintExecSummaryFunction · 0.85
joinFunction · 0.85
GetCoordinatorMethod · 0.80
GetTExecSummaryMethod · 0.80
SetTExecSummaryMethod · 0.80
AddInfoStringRedactedMethod · 0.80
GetErrorLogMethod · 0.80
summary_profileMethod · 0.45

Tested by

no test coverage detected