yihua commented on code in PR #13650:
URL: https://github.com/apache/hudi/pull/13650#discussion_r2299524013
##########
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:
In that case, we need to make sure that for table version 9 and above,
`hoodie.write.complex.keygen.encode.single.record.key.field.name` should not
take effect and the record key encoding under the affected use case should only
be `fieldName:fieldValue`.
--
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]