GitHub user viirya opened a pull request: https://github.com/apache/spark/pull/22239
[SPARK-19355][SQL][Followup] Remove the child.outputPartitioning check ## What changes were proposed in this pull request? This is based on the discussion https://github.com/apache/spark/pull/16677/files#r212805327. As SQL standard doesn't mandate that a nested order by followed by a limit has to respect that ordering clause, this patch removes the `child.outputPartitioning` check. ## How was this patch tested? Unit tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/viirya/spark-1 improve-global-limit-parallelism-followup Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/22239.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #22239 ---- commit b57634bea6213b67eae896489e913fac685d5a75 Author: Liang-Chi Hsieh <viirya@...> Date: 2018-08-27T00:26:06Z Remove the child.outputPartitioning check. ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org