KnightChess commented on issue #11794:
URL: https://github.com/apache/hudi/issues/11794#issuecomment-2297877864

   @2018yinjian The priority of commit instance's schema is higher than the 
preferred of the table hoodie.properties. so we need make sure the schema in 
commit instance, you can set `hoodie.avro.schema.validate` false and 
`hoodie.datasource.write.schema.allow.auto.evolution.column.drop` true skip it, 
but I am not sure why these two parameters need to be binded together. After 
first write in new cloud, can remove it.
   @trushev hi, can you see that, why these two parameters be binded togeter.
   ```java
       boolean shouldValidate = config.shouldValidateAvroSchema();
       boolean allowProjection = config.shouldAllowAutoEvolutionColumnDrop();
       if ((!shouldValidate && allowProjection)
           || 
getActiveTimeline().getCommitsTimeline().filterCompletedInstants().empty()
           || StringUtils.isNullOrEmpty(config.getSchema())
       ) {
         // Check not required
         return;
       }
   ```


-- 
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]

Reply via email to