-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[feature](http) Support to acquire md5 digest of the file to download #35807
[feature](http) Support to acquire md5 digest of the file to download #35807
Conversation
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
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.
clang-tidy made some suggestions
@@ -17,8 +17,11 @@ | |||
|
|||
#include "http/http_client.h" |
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.
warning: 'http/http_client.h' file not found [clang-diagnostic-error]
#include "http/http_client.h"
^
TeamCity be ut coverage result: |
if (is_acquire_md5) { | ||
Md5Digest md5; | ||
|
||
void* buf = mmap(nullptr, file_size, PROT_READ, MAP_SHARED, fd, 0); |
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.
do we need to check return values of mmap() and munmap()
PR approved by anyone and no changes requested. |
TPC-H: Total hot run time: 40768 ms
|
TPC-DS: Total hot run time: 169827 ms
|
ClickBench: Total hot run time: 30.34 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
Proposed changes
Issue Number: close #xxx