LinMingQiang commented on issue #8371:
URL: https://github.com/apache/hudi/issues/8371#issuecomment-1497244412

   ```CREATE TABLE HUDI_6032(
   id STRING PRIMARY KEY NOT ENFORCED,
   name STRING,
   age bigint,
   ts string,
   `par` STRING 
   ) PARTITIONED BY (`par`) 
    WITH (
   'index.type'='BUCKET',
   'payload.class'='org.apache.hudi.common.model.PartialUpdateAvroPayload',
   'precombine.field'='ts',
   'changelog.enabled'='false',
   'compaction.delta_commits'='1',
   'compaction.async.enabled'='true',
   'write.tasks'='1',
   'hoodie.bucket.index.num.buckets'='1',
   'compaction.schedule.enable'='true',
   'table.type' = 'COPY_ON_WRITE',
   'hoodie.datasource.write.hive_style_partitioning'='true',
   
'hive_sync.partition_extractor_class'='org.apache.hudi.hive.HiveStylePartitionValueExtractor',
   'path' = 
'file:///Users/hunter/workspace/hudipr/HUDI-6032/hudi-debug/hudi-debug-flink/target/HUDI_6032',
   'connector' = 'hudi'
   )```
   
   ```insert into HUDI_6032(id, name,age, ts, par)  values('id1','name1',1, 
'ts1','par1'),('id1','name2',2, 'ts2','par1')```
   
   ```
   CREATE TABLE HUDI_6032(
   _hoodie_commit_time STRING,
   id STRING PRIMARY KEY NOT ENFORCED 
   ) PARTITIONED BY (id) 
    WITH (
   ...
   )
   ```
   


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