| 339 | } |
| 340 | |
| 341 | void ImpalaHttpHandler::QueryAiAnalysisHandler(const Webserver::WebRequest& req, |
| 342 | Document* document) { |
| 343 | TUniqueId unique_id; |
| 344 | Status parse_status = ParseIdFromRequest(req, &unique_id, "query_id"); |
| 345 | if (!parse_status.ok()) { |
| 346 | Value error(parse_status.GetDetail(), document->GetAllocator()); |
| 347 | document->AddMember("error", error, document->GetAllocator()); |
| 348 | return; |
| 349 | } |
| 350 | |
| 351 | Value query_id_val(PrintId(unique_id), document->GetAllocator()); |
| 352 | document->AddMember("query_id", query_id_val, document->GetAllocator()); |
| 353 | } |
| 354 | |
| 355 | void ImpalaHttpHandler::QueryProfileHelper(const Webserver::WebRequest& req, |
| 356 | Document* document, TRuntimeProfileFormat::type format, bool internal_profile) { |
nothing calls this directly
no test coverage detected