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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]