Github user hvanhovell commented on the pull request:
https://github.com/apache/spark/pull/12720#issuecomment-215317834
@davies we only move pulling out the predicates into the analyzer. The
actual planning (conversion into Semi Joins) still takes place in the
Optimizer. There are a few reasons for doing this:
- Rewriting IN/EXISTS into predicate subquery allows the analyzer to do
much better type checking and type conversions.
- Pulling out the references now comes for free.
- Not all plans are resolved without doing this. For instance you are
allowed to use outer aggregate expressions in a having.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]