Uh oh!
There was an error while loading. Please reload this page.
[fix](iceberg) Fix some issues in batch mode - #51185
Merged
Merged
Conversation
hello-stephen
commented
May 23, 2025
Contributor
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
wuwenchi
commented
May 23, 2025
ContributorAuthor
run buildall |
doris-robot
commented
May 23, 2025
TPC-H: Total hot run time: 33586 ms |
doris-robot
commented
May 23, 2025
TPC-DS: Total hot run time: 192355 ms |
doris-robot
commented
May 23, 2025
ClickBench: Total hot run time: 28.82 s |
wuwenchi
commented
May 28, 2025
ContributorAuthor
run buildall |
doris-robot
commented
May 28, 2025
TPC-H: Total hot run time: 34151 ms |
doris-robot
commented
May 28, 2025
TPC-DS: Total hot run time: 185903 ms |
doris-robot
commented
May 28, 2025
ClickBench: Total hot run time: 28.96 s |
wuwenchi
commented
May 29, 2025
ContributorAuthor
run buildall |
wuwenchi
marked this pull request as ready for review
May 29, 2025 02:47
doris-robot
commented
May 29, 2025
TPC-H: Total hot run time: 33752 ms |
doris-robot
commented
May 29, 2025
TPC-DS: Total hot run time: 185650 ms |
doris-robot
commented
May 29, 2025
ClickBench: Total hot run time: 29.04 s |
| splitAssignment.addToQueue(Lists.newArrayList(createIcebergSplit(fileScanTask)))); | ||
| return null; | ||
| taskRef.set(planFileScanTask(scan)); |
Contributor
There was a problem hiding this comment.
You call planFileScanTask() twice?
Contributor
There was a problem hiding this comment.
BTW, the threadPoolWithPreAuth in ExternalCatalog.java is only used in
| } catch (InterruptedException e) { | ||
| throw new UserException("Failed to offer batch split by interrupted", e); | ||
| } | ||
| if (needMoreSplit()) { |
wuwenchi
commented
May 30, 2025
ContributorAuthor
run buildall |
morningman
commented
May 30, 2025
Contributor
run buildall |
doris-robot
commented
May 30, 2025
TPC-H: Total hot run time: 33647 ms |
doris-robot
commented
May 30, 2025
TPC-DS: Total hot run time: 191375 ms |
doris-robot
commented
May 30, 2025
ClickBench: Total hot run time: 29.01 s |
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
CalvinKirs
approved these changes
Jun 1, 2025
koarz pushed a commit
to koarz/doris
that referenced
this pull request
Jun 4, 2025
### What problem does this PR solve? Problem Summary: 1. When adding splits to the queue, a retry mechanism is added to prevent blocking and sticking. 2. We use a separate thread to fetch splits. When the SQL execution ends early (such as `limit`), this thread needs to be handled. Now it is exited by throwing an exception. Moreover, this thread should use an independent thread pool to prevent system freezes caused by resource contention. 3. When there are multiple exceptions, overwriting would occur previously. Now we use `addSuppressed` to prevent exception loss. 4. When initializing the split assignment, a timeout mechanism is added to prevent the situation where the system gets stuck due to failing to obtain splits. 5. When the split assignment stop, if an exception is not null, an exception should be thrown externally.
hubgeter pushed a commit
to hubgeter/doris
that referenced
this pull request
Jun 13, 2025
### What problem does this PR solve? Problem Summary: 1. When adding splits to the queue, a retry mechanism is added to prevent blocking and sticking. 2. We use a separate thread to fetch splits. When the SQL execution ends early (such as `limit`), this thread needs to be handled. Now it is exited by throwing an exception. Moreover, this thread should use an independent thread pool to prevent system freezes caused by resource contention. 3. When there are multiple exceptions, overwriting would occur previously. Now we use `addSuppressed` to prevent exception loss. 4. When initializing the split assignment, a timeout mechanism is added to prevent the situation where the system gets stuck due to failing to obtain splits. 5. When the split assignment stop, if an exception is not null, an exception should be thrown externally. (cherry picked from commit f6d6041)
hubgeter added a commit
to hubgeter/doris
that referenced
this pull request
Jun 13, 2025
This reverts commit 4e7a1c6.
16 tasks
morningman pushed a commit
that referenced
this pull request
Jun 18, 2025
…tables in multi-BE and batch mode. (#51694) ### What problem does this PR solve? Related PR: #51185 Problem Summary: In pr #51185, in batch mode + multiple BE scenarios, when allocating splits, if a BE is successfully allocated, it will exit the current allocation, resulting in missing splits and missing data in query results.
morningman pushed a commit
to morningman/doris
that referenced
this pull request
Jun 20, 2025
Problem Summary: 1. When adding splits to the queue, a retry mechanism is added to prevent blocking and sticking. 2. We use a separate thread to fetch splits. When the SQL execution ends early (such as `limit`), this thread needs to be handled. Now it is exited by throwing an exception. Moreover, this thread should use an independent thread pool to prevent system freezes caused by resource contention. 3. When there are multiple exceptions, overwriting would occur previously. Now we use `addSuppressed` to prevent exception loss. 4. When initializing the split assignment, a timeout mechanism is added to prevent the situation where the system gets stuck due to failing to obtain splits. 5. When the split assignment stop, if an exception is not null, an exception should be thrown externally.
morningman pushed a commit
to morningman/doris
that referenced
this pull request
Jun 20, 2025
…tables in multi-BE and batch mode. (apache#51694) ### What problem does this PR solve? Related PR: apache#51185 Problem Summary: In pr apache#51185, in batch mode + multiple BE scenarios, when allocating splits, if a BE is successfully allocated, it will exit the current allocation, resulting in missing splits and missing data in query results.
This was referenced Jun 20, 2025
morrySnow pushed a commit
that referenced
this pull request
Jun 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Problem Summary:
limit), this thread needs to be handled. Now it is exited by throwing an exception. Moreover, this thread should use an independent thread pool to prevent system freezes caused by resource contention.addSuppressedto prevent exception loss.Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)