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 2021/10/20 15:15:00 UTC
[jira] [Created] (HUDI-2591) Double bootstrap of metadata table
when upgrade is involved
Prashant Wason created HUDI-2591:
------------------------------------
Summary: Double bootstrap of metadata table when upgrade is involved
Key: HUDI-2591
URL: https://issues.apache.org/jira/browse/HUDI-2591
Project: Apache Hudi
Issue Type: Sub-task
Reporter: Prashant Wason
Assignee: Prashant Wason
Metadata table is bootstrapped in the SparkRDDWriteClient constructor. Check for the upgrade/downgrade is performed during the operation when the HoodieTable object is created.
If the dataset is upgraded to new version, the metadata table will be deleted. The bootstrap of the metadata table in the constructor will be a waste.
Hence, we should bootstrap only if an upgrade / downgrade is not required on the dataset.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)