[Chore](planner) add error information for OnClause contain ExistsPredicates (#18090)
This commit is contained in:
@ -136,6 +136,11 @@ public class FromClause implements ParseNode, Iterable<TableRef> {
|
||||
}
|
||||
tblRef.analyze(analyzer);
|
||||
leftTblRef = tblRef;
|
||||
Expr clause = tblRef.getOnClause();
|
||||
if (clause != null && clause.contains(Subquery.class)) {
|
||||
throw new AnalysisException("Not support OnClause contain Subquery, expr:"
|
||||
+ clause.toSql());
|
||||
}
|
||||
}
|
||||
// Fix the problem of column nullable attribute error caused by inline view + outer join
|
||||
changeTblRefToNullable(analyzer);
|
||||
|
||||
Reference in New Issue
Block a user