starocean999 commented on code in PR #16676: URL: https://github.com/apache/doris/pull/16676#discussion_r1106667717
########## fe/fe-core/src/main/java/org/apache/doris/nereids/util/Utils.java: ########## @@ -79,6 +79,30 @@ public static <R> R execWithReturnVal(Supplier<R> f) { return (R) ans[0]; } + /** + * Check whether lhs and rhs are intersecting. + */ + public static <T> boolean isIntersecting(Set<T> lhs, List<T> rhs) { Review Comment: may change the signature to `isIntersecting(Set<T> lhs, Collection<T> rhs)` -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org