SubqueryExpression is an extension of the PlanExpression abstraction for subquery expressions with logical plans (for a subquery).
plan: LogicalPlan): SubqueryExpression
withNewPlan is part of the PlanExpression abstraction and is defined as follows:
withNewPlan(plan: T): PlanExpression[T]
The purpose of this override method is to change the input and output generic types to the concrete LogicalPlan and
SubqueryExpression takes the following to be created:
- Subquery logical plan
- Child Expressions
- Expression ID
SubqueryExpression is an abstract class and cannot be created directly. It is created indirectly for the concrete SubqueryExpressions.
references is part of the Expression abstraction.
true when all of the following hold:
resolved is part of the Expression abstraction.
hasInOrCorrelatedExistsSubquery is used when RewritePredicateSubquery logical optimization is executed.
hasCorrelatedSubquery is used when:
EliminateOuterJoinlogical optimization is executed
Subqueryis created (from an expression)
Filterlogical operator is requested for
e: Expression): Boolean
hasSubquery is used when...FIXME