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

Implement Code generation for EnumerableSortedAggregate

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.24.0
    • 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

              amaliujia Rui Wang
              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