yihua commented on code in PR #11943:
URL: https://github.com/apache/hudi/pull/11943#discussion_r1812090139
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/HoodieFileGroupReaderSchemaHandler.java:
##########
@@ -162,6 +165,31 @@ private Schema generateRequiredSchema() {
return appendFieldsToSchemaDedupNested(requestedSchema, addedFields);
}
+ private static String[] getMandatoryFieldsForMerging(HoodieTableConfig cfg,
Option<HoodieRecordMerger> recordMerger) {
+ if (cfg.getRecordMergeMode() == RecordMergeMode.CUSTOM) {
+ return recordMerger.get().getMandatoryFieldsForMerging(cfg);
Review Comment:
HUDI-8420 and HUDI-8421 as follow-ups.
--
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]