Gokul Kolady has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24502
Change subject: IMPALA-15107: Support Direct Thrift Upload for AI Profile Analyzer ...................................................................... IMPALA-15107: Support Direct Thrift Upload for AI Profile Analyzer This change adds a CLI-only upload path to /query_ai_analysis_generate for archived thrift profiles when query_id is not provided, while keeping the existing Web UI query_id flow unchanged. The handler now accepts POSTed thrift profile content, converts it to analyzer-ready JSON using shared runtime-profile conversion logic, and runs the same redaction and AI analysis pipeline as the in-memory profile path. Testing: Unit tests were added in query-profile-ai-analysis-test.cc to cover successful thrift-archive-to-JSON conversion and invalid input handling. The feature was also validated end-to-end on a local Impala setup by posting a thrift profile through the new CLI flow and confirming a successful analysis response. Change-Id: Iff05c3cde7b34a56e31f020611cc33ff4e02aa32 --- M be/src/service/impala-http-handler.cc M be/src/service/impala-http-handler.h M be/src/service/query-profile-ai-analysis-test.cc M be/src/service/query-profile-ai-analysis.cc M be/src/service/query-profile-ai-analysis.h 5 files changed, 110 insertions(+), 14 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/02/24502/1 -- To view, visit http://gerrit.cloudera.org:8080/24502 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iff05c3cde7b34a56e31f020611cc33ff4e02aa32 Gerrit-Change-Number: 24502 Gerrit-PatchSet: 1 Gerrit-Owner: Gokul Kolady <[email protected]>
