codope commented on PR #12615: URL: https://github.com/apache/hudi/pull/12615#issuecomment-2613935710
There are 3 configs at interplay: - table config `hoodie.table.version` - can be 6 or 8 - writer config `hoodie.write.table.version` - can be 6 or 8 - writer config `hoodie.write.auto.upgrade` - boolean flag to control transition during upgrade, avoiding unintended upgrades. `hoodie.table.version` reflects the _**actual**_ state of the table. `hoodie.write.table.version` defines the _**intended**_ state of data written by the writer. During upgrade, the initial phase for writers should be configured with `hoodie.write.auto.upgrade=false` and `hoodie.write.table.version=6` until when users are ready to start writing in the new format (i.e. after all readers have been upgraded). For creating new tables using 1.0, if there is a need to create one with older format, then writers should be configured with `hoodie.write.auto.upgrade=false` and `hoodie.write.table.version=6`. In this case, `hoodie.table.version` should also be 6. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
