Github user davies commented on the pull request:
https://github.com/apache/spark/pull/12306#issuecomment-208577343
@hvanhovell Thanks for taking over these!
In the first prototype, I did the rewriting in analyzer, later I realize
that it may make more sense to do that in Optimizer, this make us easily to
dump the original query as SQL (required by views). Resolve correlated subquery
could be easily (resolve the un-resolvable attributes in subquery from children
of current plan).
How do you think?
---
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]