Expand description
Optimizer rule rewriting SetComparison subqueries (e.g. = ANY,
> ALL) into boolean expressions built from EXISTS subqueries
that capture SQL three-valued logic.
Structsยง
- Rewrite
SetComparison - Rewrite
SetComparisonexpressions to scalar subqueries that return the correct boolean value (including SQL NULL semantics). After this rule runs, later rules such asScalarSubqueryToJoincan decorrelate and remove the remaining subquery.