Open yesengh opened 1 month ago
When the Modify the bucketing method and number of buckets is executed, partitioned tables be log receive a request to drop the table, but can't see the request for a table that is non-partitioned tables
Is there any log like "Unknown partition type:" in fe.log ?
Steps to reproduce the behavior (Required)
1. partitioned tables -- 1.1 create table
-- 1.2 put data
-- 1.3 check data![image](https://github.com/StarRocks/starrocks/assets/43601935/29fde3ad-1f4e-4319-bd2f-ddf8692a5457)
select * from p_orders;
show partitions from orders;
The data block corresponding to the file system:
![image](https://github.com/StarRocks/starrocks/assets/43601935/d721582d-67a9-49b3-a58c-784be4dd52d6)
-- 1.4 Modify the bucketing method and number of buckets![image](https://github.com/StarRocks/starrocks/assets/43601935/e88fa308-23fb-4788-beb3-665521ab0f6c)
ALTER TABLE orders DISTRIBUTED BY HASH(order_id) BUCKETS 1;
-- 1.5 Check the file system data
![image](https://github.com/StarRocks/starrocks/assets/43601935/e5c9b62a-921e-4b0f-97de-bc7d648c0e19)
-- 1.6 conclusion Only the latest version of the data is retained
2. non-partitioned tables -- 2.1 create table
-- 2.2 put data
-- 2.3 check data![image](https://github.com/StarRocks/starrocks/assets/43601935/9cd5f3df-d526-43ed-a6ef-35fd64869e70)
select * from orders;
show partitions from orders;
The data block corresponding to the file system:![image](https://github.com/StarRocks/starrocks/assets/43601935/5c937add-60ee-4ea5-95bc-96721e7933a3)
-- 2.4 Modify the bucketing method and number of buckets![image](https://github.com/StarRocks/starrocks/assets/43601935/544d9990-09c6-42b4-ab7b-83aebab0b994)
ALTER TABLE p_orders DISTRIBUTED BY HASH(order_id) BUCKETS 1;
-- 2.5 Check the file system data
![image](https://github.com/StarRocks/starrocks/assets/43601935/8de24925-24ec-4813-81a0-ea880c1ca097)
-- 2.6 conclusion![image](https://github.com/StarRocks/starrocks/assets/43601935/d2b55431-b1d5-4032-9bd0-dd62fddf6956)
Expected behavior (Required)
Real behavior (Required)
StarRocks version (Required)
Use HDFS for shared-data 3.3.0-19a3f66