Gokul Kolady has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24284
Change subject: IMPALA-14963: Query Profile AI Analysis Tool ...................................................................... IMPALA-14963: Query Profile AI Analysis Tool The query profile AI analysis component provides an end-to-end workflow for generating bottleneck analysis directly from the query details page, so users can inspect root-cause hypotheses without leaving the Impala UI. Implementation adds a new /query_ai_analysis tab and template, a /query_ai_analysis_generate endpoint, and a backend pipeline that loads the query profile JSON, redacts sensitive identifiers, runs an iterative tool-calling analysis loop through ai_generate_text, and unredacts the final response for display. It also extends OpenAI response parsing to handle native tool_calls payloads and increases AI connection timeout to better support longer analysis runs. Tests added: The full end-to-end AI analysis flow was validated on a local Impala setup using a TPC-DS query profile. Change-Id: Ia9376b8c56df75032f51abbb76b3ac6927f9107e --- M be/src/exprs/ai-functions-ir.cc M be/src/exprs/ai-functions.cc M be/src/service/impala-http-handler.cc M be/src/service/impala-http-handler.h A be/src/service/query-profile-ai-analysis.cc A be/src/service/query-profile-ai-analysis.h A www/query_ai_analysis.tmpl M www/query_detail_tabs.tmpl 8 files changed, 639 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/84/24284/2 -- To view, visit http://gerrit.cloudera.org:8080/24284 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ia9376b8c56df75032f51abbb76b3ac6927f9107e Gerrit-Change-Number: 24284 Gerrit-PatchSet: 2 Gerrit-Owner: Gokul Kolady <[email protected]> Gerrit-Reviewer: Abhishek Rawat <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Jason Fehr <[email protected]> Gerrit-Reviewer: Yida Wu <[email protected]>
