yongjinhou opened a new issue, #32920:
URL: https://github.com/apache/doris/issues/32920

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   master & 2.0.7
   
   ### What's Wrong?
   
   1. 建库建表
   CREATE TABLE 
test_sys_dynamic_partition_alter_test_alter_buckets_db.test_sys_dynamic_partition_alter_test_alter_buckets_tb
 ( k1 date NOT NULL, k2 varchar(20) NOT NULL, k3 int sum NOT NULL ) AGGREGATE 
KEY(k1,k2) PARTITION BY RANGE(k1) ( ) DISTRIBUTED BY HASH(k1) BUCKETS 3 
PROPERTIES (  "dynamic_partition.enable"="true", "dynamic_partition.end"="3", 
"dynamic_partition.buckets"="10", "dynamic_partition.start"="-3", 
"dynamic_partition.prefix"="p", "dynamic_partition.time_unit"="DAY", 
"dynamic_partition.create_history_partition"="true" );
   2. 修改动态分区的分桶数
   ALTER TABLE 
test_sys_dynamic_partition_alter_test_alter_buckets_db.test_sys_dynamic_partition_alter_test_alter_buckets_tb
 SET( "dynamic_partition.buckets" = "1");
   3. 查看分桶修改结果
   SHOW PARTITIONS FROM 
test_sys_dynamic_partition_alter_test_alter_buckets_db.test_sys_dynamic_partition_alter_test_alter_buckets_tb;
   分桶数修改失败
   
   ### What You Expected?
   
   成功修改分桶数
   
   ### How to Reproduce?
   
   _No response_
   
   ### 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