Kikyou1997 commented on code in PR #11802: URL: https://github.com/apache/doris/pull/11802#discussion_r946837497
########## fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/InSubquery.java: ########## @@ -70,7 +71,7 @@ public Expression getCompareExpr() { @Override public Expression withChildren(List<Expression> children) { Preconditions.checkArgument(children.size() == 2); - Preconditions.checkArgument(children.get(0) instanceof Expression); + Preconditions.checkArgument(children.get(0) != null); Review Comment: I think this uncheck is unneccessary, it's already checked in the constructor of InSubQuery -- 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