trafodion-codereview mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zellerh <>
Subject [GitHub] incubator-trafodion pull request #795: [TRAFODION-2270] support ORDER BY in ...
Date Tue, 08 Nov 2016 03:36:34 GMT
Github user zellerh commented on a diff in the pull request:
    --- Diff: core/sql/optimizer/RelGrby.h ---
    @@ -152,6 +154,9 @@ class GroupByAgg : public RelExpr
       inline void setGroupExpr(ValueIdSet &expr) { groupExpr_ = expr;}
       inline void addGroupExpr(ValueIdSet &expr) { groupExpr_ += expr;}
    +  inline ValueIdList & extraOrderExpr() { return extraOrderExpr_; }
    --- End diff --
    No problem, only if it would have been easy... A better solution, if possible, could be
a setExtraOrderExpr(const ValueIdList &newExtraOrder) method. But again, just wanted to
share a thought.

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

View raw message