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


##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/FileGroupRecordBuffer.java:
##########
@@ -110,7 +112,14 @@ protected FileGroupRecordBuffer(HoodieReaderContext<T> 
readerContext,
       this.payloadClass = Option.empty();
     }
     this.orderingFieldName = orderingFieldName;
+    // Ensure that ordering field is populated for mergers and legacy payloads
+    orderingFieldName.ifPresent(orderingField -> {

Review Comment:
   It is passed to the file group buffer too, at least we make the logic 
consistent here. I don't think we need a change in `HoodieFileGroupReader`.



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