Expand description
DecorrelatePredicateSubquery converts IN/EXISTS subquery predicates to SEMI/ANTI joins
Structsยง
- Decorrelate
Predicate Subquery - Optimizer rule for rewriting predicate(IN/EXISTS) subquery to left semi/anti joins
- Subquery
Info ๐
Enumsยง
- Subquery
Predicate ๐
Functionsยง
- build_
join ๐ - build_
join_ ๐top - Optimize the subquery to left-anti/left-semi join. If the subquery is a correlated subquery, we need extract the join predicate from the subquery.
- extract_
subquery_ ๐info - has_
subquery ๐ - mark_
join ๐ - This is used to handle the case when the subquery is embedded in a more complex boolean expression like and OR. For example
- rewrite_
inner_ ๐subqueries