yihua commented on code in PR #13650:
URL: https://github.com/apache/hudi/pull/13650#discussion_r2300179256


##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestSchemaEvolution.java:
##########
@@ -386,7 +386,9 @@ private TableOptions defaultTableOptions(String tablePath) {
         HoodieWriteConfig.EMBEDDED_TIMELINE_SERVER_REUSE_ENABLED.key(), false,
         HoodieCommonConfig.SCHEMA_EVOLUTION_ENABLE.key(), true,
         HoodieMetadataConfig.ENABLE_METADATA_INDEX_COLUMN_STATS.key(), "true",
-        HoodieMetadataConfig.ENABLE_METADATA_INDEX_PARTITION_STATS.key(), 
"false");
+        HoodieMetadataConfig.ENABLE_METADATA_INDEX_PARTITION_STATS.key(), 
"false",
+        // Disable complex key generator validation so that the writer can 
succeed
+        HoodieWriteConfig.ENABLE_COMPLEX_KEYGEN_VALIDATION.key(), false);

Review Comment:
   I've made the change that only table version 8 and below should carry out 
the complex keygen validation.  And the validation is enforced during 8->9 
upgrade and 9->8 downgrade unless turned off by user.



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