morningman commented on a change in pull request #3476:
URL: https://github.com/apache/incubator-doris/pull/3476#discussion_r420131841



##########
File path: fe/src/main/java/org/apache/doris/planner/SingleNodePlanner.java
##########
@@ -928,6 +928,14 @@ private PartitionColumnFilter 
createPartitionFilter(SlotDescriptor desc, List<Ex
                 if (!inPredicate.isLiteralChildren() || inPredicate.isNotIn()) 
{
                     continue;
                 }
+                if ((inPredicate.getChild(0) instanceof LiteralExpr)

Review comment:
       you can use `(inPredicate.getChild(0).unwrapExpr(false) instanceof 
LiteralExpr)`




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to