Skip to content

ListQuery Subquery Expression

ListQuery is a spark-sql-Expression-SubqueryExpression.md[SubqueryExpression] that represents SQL's sql/AstBuilder.md#withPredicate[IN predicate with a subquery], e.g. NOT? IN '(' query ')'.

[[Unevaluable]] ListQuery are unevaluable.

[[resolved]] ListQuery is spark-sql-Expression-SubqueryExpression.md#resolved[resolved] when:

. Expression.md#childrenResolved[Children are resolved]

. <> is spark-sql-LogicalPlan.md#resolved[resolved]

. There is at least one <>

=== [[creating-instance]] Creating ListQuery Instance

ListQuery takes the following when created:

  • [[plan]] Subquery spark-sql-LogicalPlan.md[logical plan]
  • [[children]] Child Expression.md[expressions]
  • [[exprId]] Expression ID (as ExprId and defaults to a expressions/NamedExpression.md#newExprId[new ExprId])
  • [[childOutputs]] Child output spark-sql-Expression-Attribute.md[attributes]

Last update: 2021-02-18
Back to top