[feature](QueryPlanAction)add sql received from table query plan action into audit log#58739
Merged
starocean999 merged 2 commits intoapache:masterfrom Dec 15, 2025
Merged
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
Author
|
run buildall |
starocean999
added a commit
to starocean999/incubator-doris
that referenced
this pull request
Dec 5, 2025
…ry plan action into audit log apache#58739
16 tasks
TPC-H: Total hot run time: 34621 ms |
TPC-DS: Total hot run time: 180419 ms |
ClickBench: Total hot run time: 27.13 s |
Contributor
FE Regression Coverage ReportIncrement line coverage |
456d2b2 to
b2ccd07
Compare
Contributor
Author
|
run buildall |
Contributor
FE UT Coverage ReportIncrement line coverage |
TPC-H: Total hot run time: 34236 ms |
TPC-DS: Total hot run time: 178610 ms |
ClickBench: Total hot run time: 27.57 s |
b2ccd07 to
28bc30e
Compare
Contributor
Author
|
run buildall |
TPC-H: Total hot run time: 34542 ms |
TPC-DS: Total hot run time: 179919 ms |
ClickBench: Total hot run time: 27.24 s |
Contributor
FE Regression Coverage ReportIncrement line coverage |
Contributor
FE Regression Coverage ReportIncrement line coverage |
morrySnow
approved these changes
Dec 15, 2025
Contributor
|
PR approved by at least one committer and no changes requested. |
Contributor
|
PR approved by anyone and no changes requested. |
englefly
approved these changes
Dec 15, 2025
github-actions bot
pushed a commit
that referenced
this pull request
Dec 15, 2025
…on into audit log (#58739) after this pr, the sql received from table query plan action will be shown in fe.audit.log like bellow: ``` 2025-12-05 10:44:54,703 [query] |Timestamp=**2025-12-05 10:44:49.496**|Client=|User=**admin**|Ctl=internal|Db=|CommandType=**HttpPlan**|State=OK|ErrorCode=0|ErrorMessage=|Time(ms)=12|ScanBytes=0|ScanRows=0|ReturnRows=0|StmtId=0|QueryId=e3f55b6e86f04add-bbf511c6cfe555a9|IsQuery=true|IsNereids=true|FeIp=10.16.10.3|Stmt=**select * from tt.load_csv_datetime_conversion;**|CpuTimeMS=0|ShuffleSendBytes=-1|ShuffleSendRows=-1|SqlHash=14cc20060e3baef061099ed185864d11|PeakMemoryBytes=0|SqlDigest=|WorkloadGroup=|FuzzyVariables=|scanBytesFromLocalStorage=0|scanBytesFromRemoteStorage=0 ```
github-actions bot
pushed a commit
that referenced
this pull request
Dec 15, 2025
…on into audit log (#58739) after this pr, the sql received from table query plan action will be shown in fe.audit.log like bellow: ``` 2025-12-05 10:44:54,703 [query] |Timestamp=**2025-12-05 10:44:49.496**|Client=|User=**admin**|Ctl=internal|Db=|CommandType=**HttpPlan**|State=OK|ErrorCode=0|ErrorMessage=|Time(ms)=12|ScanBytes=0|ScanRows=0|ReturnRows=0|StmtId=0|QueryId=e3f55b6e86f04add-bbf511c6cfe555a9|IsQuery=true|IsNereids=true|FeIp=10.16.10.3|Stmt=**select * from tt.load_csv_datetime_conversion;**|CpuTimeMS=0|ShuffleSendBytes=-1|ShuffleSendRows=-1|SqlHash=14cc20060e3baef061099ed185864d11|PeakMemoryBytes=0|SqlDigest=|WorkloadGroup=|FuzzyVariables=|scanBytesFromLocalStorage=0|scanBytesFromRemoteStorage=0 ```
starocean999
added a commit
to starocean999/incubator-doris
that referenced
this pull request
Dec 17, 2025
…ry plan action into audit log apache#58739
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
after this pr, the sql received from table query plan action will be shown in fe.audit.log
like bellow:
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)