JingsongLi commented on code in PR #6193:
URL: https://github.com/apache/paimon/pull/6193#discussion_r2335681508
##########
paimon-core/src/main/java/org/apache/paimon/utils/FormatReaderMapping.java:
##########
@@ -393,4 +459,40 @@ private List<Predicate> readFilters(
dataFilters, new HashSet<>(fileSchema.partitionKeys()));
}
}
+
+ /** Limit with direction. */
+ public static class RichLimit {
+
+ private final int limit;
+ private final boolean head;
Review Comment:
Maybe use an enum? `LimitDirection`: HEAD, TAIL, UNCONCERN?
--
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]