Github user viirya commented on the issue:
https://github.com/apache/spark/pull/16633
@scwf The main issue the user posted in the mailing list is, the limit is
big enough or partition number is big enough to cause performance bottleneck in
shuffling the data of local limit. But @wzhfy's idea is also involving
shuffling.
Another issue is, how do you make sure you create a uniform distribution of
the result of local limit. Each local limit can produce different number of
rows.
---
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]