aokolnychyi commented on code in PR #8755: URL: https://github.com/apache/iceberg/pull/8755#discussion_r1350598111
########## core/src/main/java/org/apache/iceberg/deletes/PositionDeleteIndex.java: ########## @@ -44,4 +47,23 @@ public interface PositionDeleteIndex { /** Returns true if this collection contains no element. */ boolean isEmpty(); + + static PositionDeleteIndex empty() { + return new BitmapPositionDeleteIndex(); + } + + static PositionDeleteIndex merge(Iterable<? extends PositionDeleteIndex> indexes) { Review Comment: Doing this in the interface is questionable. I'll think more. -- 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...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org