danny0405 commented on code in PR #13469:
URL: https://github.com/apache/hudi/pull/13469#discussion_r2160645660
##########
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:
is the logic consistent with `HoodieFileGroupReader`? should we just update
the props in the `HoodieFileGroupReader` itself?
--
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]