-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](planner) Fix select table tablet not effective
#25378
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
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
5fe8146 to
01d4a4a
Compare
|
run buildall |
1 similar comment
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
| } | ||
|
|
||
| @Test | ||
| public void testSelectSampleTable() throws Exception { |
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.
add case for random bucket.
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.
done
| if (tabletIds != null) { | ||
| tabletIds.retainAll(sampleTabletIds); | ||
| } else { | ||
| tabletIds = sampleTabletIds; |
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.
Is this logic related to random bucket?
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.
Yes, the tabletIds returned by random bucketing distributionPrune are null.
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
411bd70 to
8c31ae9
Compare
|
run buildall |
|
(From new machine)TeamCity pipeline, clickbench performance test result: |
xiaokang
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. |
yiguolei
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
Fix select table tablet not effective, table distributed by random. If tabletID specified in query does not exist in this partition, skip scan partition.
Fix select table tablet not effective, table distributed by random. If tabletID specified in query does not exist in this partition, skip scan partition.
Fix select table tablet not effective, table distributed by random. If tabletID specified in query does not exist in this partition, skip scan partition.
Fix select table tablet not effective, table distributed by random. If tabletID specified in query does not exist in this partition, skip scan partition.
Fix select table tablet not effective, table distributed by random. If tabletID specified in query does not exist in this partition, skip scan partition.
Proposed changes
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...