-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[feature](QueryPlanAction)add sql received from table query plan action into audit log #58739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
…ry plan action into audit log apache#58739
TPC-H: Total hot run time: 34621 ms |
TPC-DS: Total hot run time: 180419 ms |
ClickBench: Total hot run time: 27.13 s |
FE Regression Coverage ReportIncrement line coverage |
456d2b2 to
b2ccd07
Compare
|
run buildall |
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
|
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 |
FE Regression Coverage ReportIncrement line coverage |
FE Regression Coverage ReportIncrement line coverage |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
…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 ```
…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 ```
…ry plan action into audit log apache#58739
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)