danny0405 commented on code in PR #18413:
URL: https://github.com/apache/hudi/pull/18413#discussion_r3007004082
##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodiePayloadProps.java:
##########
@@ -49,6 +49,16 @@ public class HoodiePayloadProps {
*/
public static final String PAYLOAD_IS_UPDATE_RECORD_FOR_MOR =
"hoodie.is.update.record.for.mor";
+ /**
+ * Property which defines how to treat incoming record when
payload-ordering-field is same. If set to true,
+ * the case where payload ordering field is the same is considered as
incoming record is an update.
+ *
+ * @see DefaultHoodieRecordPayload
+ */
+ public static final String UPDATE_ON_SAME_PAYLOAD_ORDERING_FIELD_PROP_KEY =
"hoodie.payload.update.on.same.ordering.field";
Review Comment:
The payload class is deprecated, we are not adding new functions to it,
should we just add a new payload class impl or just extend the merge mode.
--
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]