GitHub user gatorsmile opened a pull request:
https://github.com/apache/spark/pull/10678
[SPARK-12705] [SQL] AnalysisException: Sorting columns are not in Project
of Window Function
JIRA: https://issues.apache.org/jira/browse/SPARK-12705
Unable to resolve sorting columns if they are not in `outputSet` of
`Window` Function. To fix this analysis failure, extra logics are added as what
we are doing for a similar case: `Attributes` in `Sort` are not in the
`outputSet of its Child node.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gatorsmile/spark sortWindows
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10678.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 #10678
----
commit c2fcaa8e488d12419c7b7c5032ccadab38f20b68
Author: gatorsmile <[email protected]>
Date: 2016-01-10T03:21:14Z
window function: Sorting columns are not in Project
----
---
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]