GitHub user traflm opened a pull request:

    https://github.com/apache/incubator-trafodion/pull/795

    [TRAFODION-2270] support ORDER BY in PIVOT_GROUP/GROUP_CONCAT function

    to support ORDER BY in PIVOT_GROUP function, so as in GROUP_CONCAT function.
    
    The idea is to introduce a new attribute in GroupBy, named as 
extraOrderExpr(). Which record the extra sort requirement for this groupby. 
    In the optimizer, generate sort requirement for this groupby with the new 
extraOrderExpr() if available. 
    This can be reused in some other functions as well, who need special order 
so can add the itemexpr into this extraOrderExpr().

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

    $ git pull https://github.com/traflm/incubator-trafodion TRAFODION-2270

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

    https://github.com/apache/incubator-trafodion/pull/795.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 #795
    
----
commit 3fb43cb056f9e93c533ef3706937df0664b505f6
Author: Liu Ming <ovis_p...@sina.com>
Date:   2016-10-28T06:44:59Z

    [TRAFODION-2270] support ORDER BY in PIVOT_GROUP/GROUP_CONCAT function

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to