linliu-code commented on code in PR #12304:
URL: https://github.com/apache/hudi/pull/12304#discussion_r1853082308
##########
hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java:
##########
@@ -795,8 +795,8 @@ public static Triple<RecordMergeMode, String, String>
inferCorrectMergingBehavio
// strategy and merge mode must be unset or align with overwrite
checkArgument(isNullOrEmpty(recordMergeStrategyId) ||
recordMergeStrategyId.equals(OVERWRITE_MERGE_STRATEGY_UUID),
"Record merge strategy cannot be set if a merge payload is used");
- checkArgument(recordMergeMode == null || recordMergeMode ==
OVERWRITE_WITH_LATEST, "Only overwrite with latest record merge mode can be
used with overwrite payload");
- inferredRecordMergeMode = OVERWRITE_WITH_LATEST;
+ checkArgument(recordMergeMode == null || recordMergeMode ==
COMMIT_TIME_ORDERING, "Only overwrite with latest record merge mode can be used
with overwrite payload");
Review Comment:
Done.
--
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]