GitHub user marmbrus opened a pull request:
https://github.com/apache/spark/pull/1795
[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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/marmbrus/spark ordering
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/1795.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 #1795
----
commit 82cabdada860e959f12229bcd200dd0a46bafcfb
Author: Michael Armbrust <[email protected]>
Date: 2014-08-05T22:46:19Z
Generalize attribute resolution.
commit 705d9631f0d5f1942219fb1e3beff7280c0b0dee
Author: Michael Armbrust <[email protected]>
Date: 2014-08-05T22:46:52Z
Add a rule for resolving ORDER BY expressions that reference attributes not
present in the SELECT clause.
commit 74d833b815191a4f0ec5fd5be723034534538ba0
Author: Michael Armbrust <[email protected]>
Date: 2014-08-06T01:20:14Z
newline
----
---
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]