| 1631 | } |
| 1632 | |
| 1633 | void 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. |
| 1646 | static void GetPlanNodesWithHboKeys( |
nothing calls this directly
no test coverage detected