sivabalan narayanan created HUDI-2268:
-----------------------------------------

             Summary: Upgrade hoodie table for 0.9.0
                 Key: HUDI-2268
                 URL: https://issues.apache.org/jira/browse/HUDI-2268
             Project: Apache Hudi
          Issue Type: Improvement
          Components: Usability
            Reporter: sivabalan narayanan
             Fix For: 0.9.0


Wrt upgrading/downgrading hoodie.properties, here is what we can go. 

Add a new table version, 2. 

Add an upgrade step:

before every write operation. 

     Check if existing hoodie.props is in an older version. If yes, perform 
upgrade step to version2 (either from 0 to 2 or from 1 to 2). This essentially 
means that we need to add new properties pertaining to sql dml to 
hoodie.properties. 

 

Downgrade step: 

hoodie.properties will have some additional properties. Should not cause any 
harm. All we need to do is to downgrade the table version to target version and 
not touch any of the props. 

 

 

 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to