juice411 commented on issue #11016:
URL: https://github.com/apache/hudi/issues/11016#issuecomment-2063254935

   CREATE TABLE if not exists test_simulated_data.ods_table_v1(
   id int,
   count_field double,
   write_time timestamp(0),
   _part string,
   proc_time timestamp(3),
   WATERMARK FOR write_time AS write_time
   )
   PARTITIONED BY (_part)
   WITH(
   'connector'='hudi',
   'path'='hdfs://masters/test_simulated_data/ods_table_v1',
   'table.type'='MERGE_ON_READ',
   'hoodie.datasource.write.recordkey.field'='id',
   'hoodie.datasource.write.precombine.field'='write_time',
   'compaction.async.enabled'='true',
   'compaction.schedule.enabled'='true',
   'compaction.trigger.strategy'='time_elapsed',
   'compaction.delta_seconds'='600',
   'compaction.delta_commits'='1',
   'read.streaming.enabled'='true',
   'read.streaming.skip_compaction'='true',
   'read.start-commit'='earliest',
   'changelog.enabled'='true',
   'hive_sync.enable'='true',
   'hive_sync.mode'='hms',
   'hive_sync.metastore.uris'='thrift://h35:9083',
   'hive_sync.db'='test_simulated_data',
   'hive_sync.table'='hive_ods_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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to