zyclove commented on issue #8890:
URL: https://github.com/apache/hudi/issues/8890#issuecomment-1600410371

   @psendyk You add this settings and try it. May be it works.
   ```java
                   
.option(HoodieWriteConfig.AVRO_EXTERNAL_SCHEMA_TRANSFORMATION_ENABLE.key(), 
true)
                   .option(HoodieWriteConfig.AVRO_SCHEMA_VALIDATE_ENABLE.key(), 
true)
                   
.option(HoodieWriteConfig.SCHEMA_ALLOW_AUTO_EVOLUTION_COLUMN_DROP.key(), true)
                   .option(HoodieCommonConfig.RECONCILE_SCHEMA.key(), true)
                   .option(HoodieCommonConfig.SCHEMA_EVOLUTION_ENABLE.key(), 
true)
                   .option(HoodieIndexConfig.INDEX_TYPE.key(), 
HoodieIndex.IndexType.SIMPLE.name())
                   .option(HoodieLayoutConfig.LAYOUT_TYPE.key(), 
HoodieStorageLayout.LayoutType.DEFAULT.name())
   ``` 
   
   and query with configs
   ```java
   set hoodie.schema.on.read.enable=true;
   set hoodie.datasource.read.extract.partition.values.from.path=true;
   ``` 


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