[ 
https://issues.apache.org/jira/browse/CALCITE-4008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ruben Q L resolved CALCITE-4008.
--------------------------------
    Resolution: Fixed

Fixed in 
https://github.com/apache/calcite/commit/bf9ff001db743bcba35943daf7fec5fe8b8b207e

Thanks [~amaliujia] for the patch!

> 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
>              Labels: pull-request-available
>             Fix For: 1.24.0
>
>          Time Spent: 6.5h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to