[
https://issues.apache.org/jira/browse/IMPALA-14962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18082074#comment-18082074
]
ASF subversion and git services commented on IMPALA-14962:
----------------------------------------------------------
Commit 18ed94dadb7b9267c37cc60862fa0892581f02a3 in impala's branch
refs/heads/master from Gokul Kolady
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=18ed94dad ]
IMPALA-14962: Query Profile Parser Interface
This interface exposes stable, JSON-returning tool methods over query
profiles so AI-driven analysis can request focused sections like summary,
fragments, nodes, and resource estimates instead of parsing raw profile
text (avoids exceeding LLM context window limits). Implementation
introduces a parser/accessor layer that normalizes profile JSON into
query-scoped structures, dispatches named tool calls (get_summary,
get_fragment, get_node, etc.), supports argument parsing/validation, and
returns consistent JSON outputs suitable for LLM tool-calling.
Tests added: query-profile-parsing-tools-test.cc with golden-file
validation for all supported tool methods, plus negative-path coverage
for rejecting non-JSON profile input.
Code Generated-by: Cursor AI
Change-Id: I4d9c9e735aa089bb243b07af421553002a465a88
Reviewed-on: http://gerrit.cloudera.org:8080/24283
Reviewed-by: Jason Fehr <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Yida Wu <[email protected]>
> Query Profile Parser
> --------------------
>
> Key: IMPALA-14962
> URL: https://issues.apache.org/jira/browse/IMPALA-14962
> Project: IMPALA
> Issue Type: Task
> Reporter: Gokul Kolady
> Assignee: Gokul Kolady
> Priority: Major
>
> Create an interface to parse a JSON query profile and retrieve specific
> sections of the profile such as execution timeline, query options, analyzed
> query, fragment/node info, etc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]