danny0405 commented on code in PR #9892:
URL: https://github.com/apache/hudi/pull/9892#discussion_r1371132703


##########
hudi-common/src/main/java/org/apache/hudi/common/model/DefaultHoodieRecordPayload.java:
##########
@@ -45,12 +45,12 @@ public class DefaultHoodieRecordPayload extends 
OverwriteWithLatestAvroPayload {
   public static final String DELETE_MARKER = "hoodie.payload.delete.marker";
   private Option<Object> eventTime = Option.empty();
 
-  public DefaultHoodieRecordPayload(GenericRecord record, Comparable 
orderingVal) {
-    super(record, orderingVal);
+  public DefaultHoodieRecordPayload(GenericRecord record, Comparable 
orderingVal, Properties props) {
+    super(record, orderingVal, props);
   }

Review Comment:
   The source of the props seems a chaos, I already saw several ways how it was 
produced:
   
   1. `config.getPayloadConfig().getProps()` in `HoodieMergeHandle`;
   2. 
`payloadProps.setProperty(HoodiePayloadProps.PAYLOAD_ORDERING_FIELD_PROP_KEY, 
preCombineField);` in `HoodieFileSliceReader`;
   3. `config.getProps()` in `HoodieIndexUtils`.



-- 
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]

Reply via email to