danny0405 commented on issue #10333:
URL: https://github.com/apache/hudi/issues/10333#issuecomment-1859472658

   You can have a try of our new NB-CC concurrency mode, here is what it looks 
like with Flink options:
   
   ```sql
   -- NB-CC demo
   
   CREATE TABLE sourceT (
     uuid varchar(20),
     name varchar(10),
     age int,
     ts timestamp(3),
     `partition` as 'par1'
   ) WITH (
     'connector' = 'datagen',
     'rows-per-second' = '200'
   );
   
   create table t1(
     uuid varchar(20),
     name varchar(10),
     age int,
     ts timestamp(3),
     `partition` varchar(20)
   )
   with (
     'connector' = 'hudi',
     'path' = '/Users/chenyuzhao/workspace/hudi-demo/t1',
     'table.type' = 'MERGE_ON_READ',
     'index.type' = 'BUCKET',
     'hoodie.write.concurrency.mode' = 'NON_BLOCKING_CONCURRENCY_CONTROL',
     'write.tasks' = '2'
   );
   
   
   create table t1_2(
     uuid varchar(20),
     name varchar(10),
     age int,
     ts timestamp(3),
     `partition` varchar(20)
   )
   with (
     'connector' = 'hudi',
     'path' = '/Users/chenyuzhao/workspace/hudi-demo/t1',
     'table.type' = 'MERGE_ON_READ',
     'index.type' = 'BUCKET',
     'hoodie.write.concurrency.mode' = 'NON_BLOCKING_CONCURRENCY_CONTROL',
     'write.tasks' = '2',
     'compaction.schedule.enabled' = 'false',
     'compaction.async.enabled' = 'false',
     'clean.async.enabled' = 'false'
   );
   
   insert into t1 select * from sourceT;
   insert into t1_2 select * from sourceT;
   ```


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

Reply via email to