[
https://issues.apache.org/jira/browse/HUDI-6813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhang resolved HUDI-6813.
------------------------------
> Support table name for meta sync in bootstrap
> ---------------------------------------------
>
> Key: HUDI-6813
> URL: https://issues.apache.org/jira/browse/HUDI-6813
> Project: Apache Hudi
> Issue Type: Improvement
> Reporter: Jing Zhang
> Priority: Major
>
> Using bootstrap procedure to migrate an existing table into a Hudi table.
> {code:sql}
> call run_bootstrap(
> table=> "test_db.test_hudi_table",
> table_type=>"COPY_ON_WRITE",
> bootstrap_path=>"XXX",
> base_path=>"XXX",
> rowKey_field=>"device_id",
> partition_path_field=>"p_date,product",
> key_generator_class=>"org.apache.hudi.keygen.ComplexKeyGenerator",
> enable_hive_sync=>true,
> options => 'hoodie.datasource.hive_sync.mode=hms'
> );
> {code}
> After sync to HMS, I get a hudi table which stored as `test_db. unknown `
> instead of `test_db.test_hudi_table` in HMS.
> The root cause is not set table configure 'META_SYNC_TABLE_NAME' before start
> hive sync.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)