apache/spark — pull request #1795 by marmbrus (2014-08-06 01:21:18+00:00)
Title: [SPARK-2866][SQL] Support attributes in ORDER BY that aren't in SELECT

Minor refactoring to allow resolution either using a nodes input or output.