danny0405 commented on code in PR #13445:
URL: https://github.com/apache/hudi/pull/13445#discussion_r2155799138
##########
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:
We already cache the `orderingVal` in `HoodieRecord`, the `Lazy` wrapper
will increase the bytes to serialize for the spillableMap too.
--
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]