ArnavBalyan commented on code in PR #6178: URL: https://github.com/apache/paimon/pull/6178#discussion_r2315573982
########## paimon-common/src/main/java/org/apache/paimon/fileindex/rangebitmap/BitSliceIndexBitmap.java: ########## @@ -178,24 +183,34 @@ public RoaringBitmap32 topK(int k, @Nullable RoaringBitmap32 foundSet) { e = RoaringBitmap32.andNot(e, getSlice(i)); } else { e = RoaringBitmap32.and(e, getSlice(i)); - break; + if (!allowDuplicates) { Review Comment: updated the code -- 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: issues-unsubscr...@paimon.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org