weizuo93 opened a new pull request #6552: URL: https://github.com/apache/incubator-doris/pull/6552
## Proposed changes Fix #6551 `Truncate` operation will create new partition to replace base partition. Tablets in new partition would be created based on table default bucket number. If the number of tablet for a partition is different from table default bucket number, the number of tablet will be different between the new created partition and base partition after truncate operation. In any case, the new partition should hava the same number of tablet as the base partition after truncate operation. Tablets in new partition should be created based on tablet number of base partition rather than table default bucket number for truncate operation. ## Types of changes What types of changes does your code introduce to Doris? _Put an `x` in the boxes that apply_ - [x] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Documentation Update (if none of the other choices apply) - [ ] Code refactor (Modify the code structure, format the code, etc...) - [ ] Optimization. Including functional usability improvements and performance improvements. - [ ] Dependency. Such as changes related to third-party components. - [ ] Other. -- 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]
