codope commented on issue #6553: URL: https://github.com/apache/hudi/issues/6553#issuecomment-1233715675
It should be seamless. Hudi's upgrade handler will execute the upgrade steps automatically upon first commit with the newer version. However, the first commit could take slightly more time because in version 0.11.0 [metadata table](https://hudi.apache.org/docs/metadata) was enabled and hence metadata table will be created by default. Also, the mechanism of creating metadata table changed in 0.10.0. Any subsequent commits will be as usual. Though metadata table is a useful thing, but at this point if you're not sure whether to enable it or not, you can set `hoodie.metadata.enable` to false while writing using the newer Hudi version. I just ran two upserts with 0.5.3 and then another with 0.12.0. It was pretty seamless. For reference, this is how the `hoodie.properties` changed: ``` # BEFORE UPGRADE #Properties saved on Thu Sep 01 09:29:51 IST 2022 #Thu Sep 01 09:29:51 IST 2022 hoodie.table.name=hudi_trips_cow hoodie.archivelog.folder=archived hoodie.table.type=COPY_ON_WRITE hoodie.timeline.layout.version=1 # AFTER UPGRADE #Updated at 2022-09-01T04:02:21.045Z #Thu Sep 01 09:32:21 IST 2022 hoodie.table.partition.fields=partitionpath hoodie.table.type=COPY_ON_WRITE hoodie.archivelog.folder=archived hoodie.timeline.layout.version=1 hoodie.table.version=5 hoodie.table.metadata.partitions=files hoodie.table.recordkey.fields=uuid hoodie.table.base.file.format=PARQUET hoodie.datasource.write.partitionpath.urlencode=false hoodie.table.name=hudi_trips_cow hoodie.table.keygenerator.class=org.apache.hudi.keygen.SimpleKeyGenerator hoodie.datasource.write.hive_style_partitioning=false hoodie.table.checksum=4283906605 ``` -- 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]
