zouxxyy created HUDI-5957:
-----------------------------

             Summary: Run cluster should fail when using buckets
                 Key: HUDI-5957
                 URL: https://issues.apache.org/jira/browse/HUDI-5957
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: zouxxyy


{code:java}
drop table hudi_cow_test_tbl;create table hudi_cow_test_tbl (  id bigint,  name 
string,  ts bigint,  dt string,  hh string) using huditblproperties (  type = 
'cow',  primaryKey = 'id',  preCombineField = 'ts',  hoodie.index.type = 
'BUCKET')partitioned by (dt, hh);
insert into hudi_cow_test_tbl values (1, 'a1', 1001, '2021-12-09', '10');insert 
into hudi_cow_test_tbl values (2, 'a2', 1001, '2021-12-09', '10');
call run_clustering(table => 'hudi_cow_test_tbl');
insert into hudi_cow_test_tbl values (3, 'a3', 1001, '2021-12-09', '10'); {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to