[SUPPORT] Question about Hudi Schema evolution - Column added in Middle
Hi Team,
I tried upserting into an Hudi dataset after inserting a new field into the dataframe in between. So the original dataframe had 5 columns that was written in commit 1. Then before commit 2, I added a new column after column 1 of the original dataframe.
I was expecting Hudi to error out as new column was inserted in middle, but it did not. It gracefully re-wrote the files with new schema and performed Hive sync also. Hudi 0.52 is used. Is this something that has been recently enhanced in Hudi or did I miss something?
thanks
@rvd8345 : With 0.6.0 version, to check for schema compatibility for every single write, you need to enable the config hoodie.avro.schema.validate=true.