You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Prashant Wason (Jira)" <ji...@apache.org> on 2023/10/05 01:39:00 UTC
[jira] [Closed] (HUDI-6813) Support table name for meta sync in bootstrap
[ https://issues.apache.org/jira/browse/HUDI-6813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prashant Wason closed HUDI-6813.
--------------------------------
Resolution: Done
> 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
> Fix For: 0.14.0
>
>
> 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)