Uh oh!
There was an error while loading. Please reload this page.
[fix](file-writer) avoid empty file for segment writer - #31169
Conversation
doris-robot
commented
Feb 20, 2024
Thank you for your contribution to Apache Doris. |
f5eee06 to
fa4ec9eComparefa4ec9e to
a434614Compareclang-tidy review says "All clean, LGTM! 👍" |
2 similar comments
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
PR approved by anyone and no changes requested. |
gavinchou
commented
Feb 20, 2024
run buildall |
doris-robot
commented
Feb 20, 2024
TeamCity be ut coverage result: |
PR approved by at least one committer and no changes requested. |
…#28983#30703#31169 (#31213) * (feature)(cloud) Use dynamic allocator instead of static buffer pool for better elasticity. (#28983) * [fix](outfile) Fix unable to export empty data (#30703) Issue Number: close#30600 Fix unable to export empty data to hdfs / S3, this behavior is inconsistent with version 1.2.7, version 1.2.7 can export empty data to hdfs/ S3, and there will be exported files on S3/HDFS. * [fix](file-writer) avoid empty file for segment writer (#31169) --------- Co-authored-by: AlexYue <yj976240184@gmail.com> Co-authored-by: zxealous <zhouchangyue@baidu.com>
Proposed changes
This #30703 allow writing empty file.
But internal segment file do not allow empty file.
So I add a new FileWriterOption
create_empty_fileto indicate whether tocreate empty file.
This only effect s3/hdfs/broker file writer
After this,
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...