JingsongLi commented on code in PR #4436: URL: https://github.com/apache/paimon/pull/4436#discussion_r1830423025
########## paimon-core/src/main/java/org/apache/paimon/table/system/SchemasTable.java: ########## @@ -223,6 +226,22 @@ public InnerTableRead withFilter(Predicate predicate) { handleLeafPredicate(leaf, leafName); } } + + // optimize for IN filter + if ((compoundPredicate.function()) instanceof Or) { Review Comment: We should extract a class to reduce duplicate codes, this can be done in a new PR. -- 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