GitHub user zhichao-li opened a pull request:
https://github.com/apache/spark/pull/10731
[SPARK-12789]Support order by index
Num in Order by is treated as constant expression at the moment. I guess it
would be good to enable user to specify column by index which has been
supported in Hive 0.11.0 and later. Hive use
hive.groupby.orderby.position.alias to turn on/off this feature, not sure if we
need to follow this as well.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhichao-li/spark orderby
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10731.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 #10731
----
commit 5a2270be260c635772fb4d46a7084eecf7166d87
Author: zhichao.li <[email protected]>
Date: 2016-01-12T08:03:26Z
support order by index
----
---
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]