Github user cloud-fan commented on the issue: https://github.com/apache/spark/pull/15041 Limiting 10 million records is really a corner case. A workaround is to save your sorted query result into a new table and read the new table with your large limit. I don't think this corner case worth introducing the complexity to open source code base.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org