qw2qw2 commented on issue #10779:
URL: https://github.com/apache/hudi/issues/10779#issuecomment-2283047490
> Did you create the Flink table by using the hudi hive catalog?
Just flink sql Auto-Sync Hive table,I did not use catalog:
CREATE TABLE table01(
...
)
PARTITIONED BY (dt,hr)
WITH(
'connector' = 'hudi',
'path'='hdfs:///user/xxx/hudi/warehouse/table01',
'table.type' = 'COPY_ON_WRITE',
'write.operation' = 'upsert',
'hoodie.datasource.write.recordkey.field' = 'record_key',
'write.precombine.field' = 'record_time',
'write.tasks' = '24',
'hoodie.datasource.write.hive_style_partitioning' = 'true',
'hive_sync.enable' = 'true',
'hive_sync.mode' = 'hms',
'hive_sync.conf.dir'='hdfs:///user/hive/conf',
'hive_sync.db' = 'dbname',
'hive_sync.table' = 'table01',
'hive_sync.partition_fields' = 'dt,hr',
'hive_sync.partition_extractor_class' =
'org.apache.hudi.hive.MultiPartKeysValueExtractor',
'hive_sync.support_timestamp' = 'true'
)
--
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]