weizuo93 opened a new issue #6551:
URL: https://github.com/apache/incubator-doris/issues/6551


   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### Version
   
   Latest Master branch(6ac0ab6b29f38b9bf4dd19a2020c6909a964f807)
   
   ### What's Wrong?
   
   `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.
   
   ### What You Expected?
   
   In any case, the new partition should hava the same number of tablet as the 
base partition after truncate operation.
   
   ### How to Reproduce?
   
   Tablets in new partition shouls be created based on tablet number of base 
partition rather than table default bucket number for truncate operation.
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to