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)

Reply via email to