wulei0302 commented on code in PR #5627:
URL: https://github.com/apache/hudi/pull/5627#discussion_r904504762


##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieRecord.java:
##########
@@ -169,15 +180,21 @@ public HoodieOperation getOperation() {
     return operation;
   }
 
+  public Comparable getOrderingValue() {
+    if (null == orderingVal) {
+      // default natural order is 0
+      return 0;
+    }
+    return orderingVal;

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: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to