yihua commented on code in PR #12991:
URL: https://github.com/apache/hudi/pull/12991#discussion_r2001831896
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/HoodieFileGroupReaderSchemaHandler.java:
##########
@@ -199,7 +199,8 @@ private static String[]
getMandatoryFieldsForMerging(HoodieTableConfig cfg, Type
}
}
- if (cfg.getRecordMergeMode() == RecordMergeMode.EVENT_TIME_ORDERING) {
+ if (cfg.getRecordMergeMode() == null
+ || cfg.getRecordMergeMode() == RecordMergeMode.EVENT_TIME_ORDERING) {
Review Comment:
Also, could you add a test that fails before this fix and passes after this
fix?
--
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]