yiguolei opened a new pull request, #71351:
URL: https://github.com/apache/doris/pull/71351

   ### What problem does this PR solve?
   
   Related PR: #71280
   
   Backport the production fix to branch-4.2. Retained query profile APIs 
resolve owner, profile ID, task type, node, and SQL fields by column name. 
Ordinary users can retrieve their own profiles, and authorized SQL requests 
return the SQL instead of the end timestamp. Existing root/admin visibility and 
response formats are preserved.
   
   The upstream test file is omitted: branch-4.2 lacks the current-query 
normalization functionality used by its pre-existing tests, introduced in 
#68032 and updated in #71236. This backport changes only 
QueryProfileAction.java.
   
   ### Release note
   
   Fix FE v2 query profile ownership filtering and SQL retrieval.
   
   ### Check List (For Author)
   
   - Validation: git diff --check passed. Remote FE compilation and existing 
profile-related FE unit tests are being prepared; results are pending.
   - Behavior changed: Yes, fixes retained-profile filtering and SQL retrieval.
   - Does this need documentation: No.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to