Github user gatorsmile commented on the pull request:
https://github.com/apache/spark/pull/10689#issuecomment-170589671
@hvanhovell Let me share my two cents:
- We have another PR to push down `Limit` through `Union ALL`. However,
it is impossible to push `Limit` through `Union Distinct`:
https://github.com/apache/spark/pull/10451
- If we want to convert a logical plan back a SQL (in
https://github.com/apache/spark/pull/10541), we need to support it, I think.
@liancheng Please correct me, if my understanding is wrong.
- `Limit` is a super critical when the scale is huge. Our `Dataframe` API
can add this almost everywhere. In the long term, we should provide the same
functions for all the different interfaces, I 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]