-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](load): fix incorrect progress on finished loads #55509
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 |
TPC-H: Total hot run time: 33779 ms |
TPC-DS: Total hot run time: 187082 ms |
ClickBench: Total hot run time: 32.37 s |
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
dataroaring
left a comment
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. |
liaoxin01
left a comment
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
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
Finished load jobs could show less than 100% progress because the status was not reported correctly when any file scanner had `num_rows_load_total == 0` and `num_rows_load_filtered == 0`. This fix ensures the status is reported correctly and finished loads now display 100% progress. Before: ``` | 1756660232981 | load_data_4_objects_large_high_column | FINISHED | 0.00% (0/1000) | BROKER | ... ``` After: ``` | 1756660232984 | load_data_5_objects_large_high_column | FINISHED | 100.00% (1000/1000) | BROKER | ... ```
Finished load jobs could show less than 100% progress because the status was not reported correctly when any file scanner had `num_rows_load_total == 0` and `num_rows_load_filtered == 0`. This fix ensures the status is reported correctly and finished loads now display 100% progress. Before: ``` | 1756660232981 | load_data_4_objects_large_high_column | FINISHED | 0.00% (0/1000) | BROKER | ... ``` After: ``` | 1756660232984 | load_data_5_objects_large_high_column | FINISHED | 100.00% (1000/1000) | BROKER | ... ```
What problem does this PR solve?
Issue Number: CIR-17562
Problem Summary:
Finished load jobs could show less than 100% progress because the status
was not reported correctly when any file scanner had
num_rows_load_total == 0andnum_rows_load_filtered == 0.This fix ensures the status is reported correctly and finished loads
now display 100% progress.
Before:
After:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)