the-other-tim-brown commented on code in PR #13445:
URL: https://github.com/apache/hudi/pull/13445#discussion_r2155156953
##########
hudi-common/src/main/java/org/apache/hudi/common/table/read/BufferedRecord.java:
##########
@@ -41,12 +42,12 @@
*/
public class BufferedRecord<T> implements Serializable {
private final String recordKey;
- private final Comparable orderingValue;
+ private final Lazy<Comparable> orderingValue;
Review Comment:
When deriving the BufferedRecord from the record with `emitDeletes` we can
run into issues trying to extract the ordering value since the record is null.
This allows us to only perform that evaluation if required.
--
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]