[fix](planner)correlated predicate should include isnull predicate (#34833)
This commit is contained in:
@ -957,7 +957,8 @@ public class StmtRewriter {
|
||||
* query block (i.e. is not bound by the given 'tupleIds').
|
||||
*/
|
||||
private static boolean isCorrelatedPredicate(Expr expr, List<TupleId> tupleIds) {
|
||||
return (expr instanceof BinaryPredicate || expr instanceof SlotRef) && !expr.isBoundByTupleIds(tupleIds);
|
||||
return (expr instanceof BinaryPredicate || expr instanceof SlotRef
|
||||
|| expr instanceof IsNullPredicate) && !expr.isBoundByTupleIds(tupleIds);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user