ASF GitHub Bot commented on TRAFODION-2184:

GitHub user anoopsharma00 opened a pull request:


    jira TRAFODION-2184 Fix to order by on renamed expressions

    code fix so renamed expressions with order by as shown below work:
      select count(*) aa from t order by count(*);
      select a+1 aa from t order by a+1;

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/anoopsharma00/incubator-trafodion 

Alternatively you can review and apply these changes as the patch at:


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #717
commit 6ad9a9a4f651dbf03f7d808d2e3f426a67773ddd
Author: Anoop Sharma <anoop.sha...@esgyn.com>
Date:   2016-09-21T14:56:26Z

    jira TRAFODION-2184 Fix to order by on renamed expressions


> enable group by, order by and other features currently within special cqds
> --------------------------------------------------------------------------
>                 Key: TRAFODION-2184
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2184
>             Project: Apache Trafodion
>          Issue Type: Improvement
>            Reporter: Anoop Sharma
>            Assignee: Anoop Sharma
>            Priority: Minor
> Following features are currently not enabled by default.
> This jira is to enable them for general use.
> -- allow firstN syntax in subqueries
> -- allow expressions in order by (for ex: order by a+1)
> -- allow order by syntax within a subquery 
> -- support select list renamed columns in group by clause

This message was sent by Atlassian JIRA

Reply via email to