starocean999 opened a new pull request, #44064:
URL: https://github.com/apache/doris/pull/44064
```
CREATE TABLE `t_customers_wide_index_1` ( `CUSTOMER_ID` int NULL,
`ADDRESS` varchar(1500) NULL)DUPLICATE KEY(`CUSTOMER_ID`) DISTRIBUTED BY
HASH(`CUSTOMER_ID`) BUCKETS 32;
insert into t_customers_wide_index values (1, "111");
explain SELECT * from t_customers_wide_index WHERE customer_id = 1817422;
```
before this pr, the tablet prune doesn't work
`tablets=32/32, tabletList=1451717,1451719,1451721 ...`
after this pr, the unused tablet is pruned like bellow:
`tablets=1/32, tabletList=1451767 `
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]