[
https://issues.apache.org/jira/browse/CALCITE-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17127726#comment-17127726
]
Rui Wang commented on CALCITE-4008:
-----------------------------------
Is there some explanation how should SortedAggregate work? What make it
different from normal aggregate? Tried to think about an sorted based
algorithm.
> Implement Code generation for EnumerableSortedAggregate
> -------------------------------------------------------
>
> Key: CALCITE-4008
> URL: https://issues.apache.org/jira/browse/CALCITE-4008
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Haisheng Yuan
> Assignee: Rui Wang
> Priority: Minor
>
> EnumerableSortedAggregate is added in 1.23.0, but doesn't implement code
> generation. It would be nice if we can add code generation for it, so that
> more efficient plan can be generated and used for some queries, e.g.
> {code:java}
> select foo.a, max(b) from
> foo join bar on foo.a=bar.a
> group by a order by a desc;
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)