Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4008

Implement Code generation for EnumerableSortedAggregate

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.24.0
    • Component/s: core

      Description

      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.

      select foo.a, max(b) from
         foo join bar on foo.a=bar.a 
         group by a order by a desc;
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amaliujia Rui Wang
                Reporter:
                hyuan Haisheng Yuan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 6.5h
                  6.5h