-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Improvement]Add query start datetime #48906
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
TPC-H: Total hot run time: 32839 ms
|
TPC-DS: Total hot run time: 191940 ms
|
ClickBench: Total hot run time: 30.99 s
|
queryTime = (long) f.get(event); | ||
if (af.value().equals("Timestamp")) { | ||
try { | ||
fieldValue = TimeUtils.longToTimeStringWithms(Long.valueOf(fieldValue.toString())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Long.valueOf(fieldValue.toString() 这个不要这么写,直接强制类型转换就可以了
run buildall |
TPC-H: Total hot run time: 32261 ms
|
TPC-DS: Total hot run time: 192559 ms
|
ClickBench: Total hot run time: 30.6 s
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
fe/fe-core/src/main/java/org/apache/doris/plugin/audit/AuditLogBuilder.java
Show resolved
Hide resolved
run buildall |
PR approved by at least one committer and no changes requested. |
TPC-H: Total hot run time: 32698 ms
|
TPC-DS: Total hot run time: 191733 ms
|
ClickBench: Total hot run time: 30.57 s
|
### What problem does this PR solve? Add query start datetime in FE audit log.
### What problem does this PR solve? Add query start datetime in FE audit log.
Cherry-picked from #48906 Co-authored-by: wangbo <[email protected]>
What problem does this PR solve?
Add query start datetime in FE audit log.
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)