cshuo commented on issue #17658:
URL: https://github.com/apache/hudi/issues/17658#issuecomment-3685422659

   @bithw1 
   ```
   SET 'execution.savepoint.path' = 
'file:/tmp/flink-savepoints/savepoint-655435-63523f204508';
   SET 'parallelism.default' = '8';
   
   CREATE TABLE hudi_table(
      `item_id` BIGINT,
      `f_0` BIGINT,
      `f_1` BIGINT,
      `f_2` BIGINT,
      `f_3` BIGINT,
      `f_4` BIGINT,
      `f_5` BIGINT,
      `f_6` BIGINT,
      `f_7` BIGINT,
      `f_8` BIGINT,
      `f_9` BIGINT,
      `f_10` BIGINT,
      `f_11` BIGINT,
      `f_12` BIGINT,
      `f_13` BIGINT,
      `f_14` BIGINT,
      `f_15` BIGINT,
      `f_16` BIGINT,
      `f_17` BIGINT,
      `f_18` BIGINT,
      `f_19` BIGINT,
       `ts` TIMESTAMP(3),
       PRIMARY KEY (`item_id`) NOT ENFORCED
   ) WITH (
     'connector' = 'hudi',
     'path' = 'file:///private/tmp/hudi_table',
     'table.type' = 'MERGE_ON_READ',
     'index.type' = 'BUCKET',
     'read.start-commit' = 'earliest',
     'read.streaming.enabled' = 'true',
     'hoodie.bucket.index.num.buckets' = '8',
     'read.tasks' = '8');
   
   create table print_table(
       `item_id` BIGINT,
      `f_0` BIGINT,
      `f_1` BIGINT,
      `f_2` BIGINT,
      `f_3` BIGINT,
      `f_4` BIGINT,
      `f_5` BIGINT,
      `f_6` BIGINT,
      `f_7` BIGINT,
      `f_8` BIGINT,
      `f_9` BIGINT,
      `f_10` BIGINT,
      `f_11` BIGINT,
      `f_12` BIGINT,
      `f_13` BIGINT,
      `f_14` BIGINT,
      `f_15` BIGINT,
      `f_16` BIGINT,
      `f_17` BIGINT,
      `f_18` BIGINT,
      `f_19` BIGINT,
       `ts` TIMESTAMP(3)
   ) with (
       'connector' = 'print',
       'sink.parallelism' = '1'
   );
   
   insert into print_table select * from hudi_table;
   ```


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