Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-3662 Improve DefaultFrameTemplate structure
  3. DRILL-4270

Create a separate WindowFramer that supports the FRAME clause

    XMLWordPrintableJSON

Details

    Description

      Currently most the window functions logic is handled by DefaultFrameTemplate. Create a separate CustomFrameTemplate that handles the FRAME clause, this should make the code in both classes more focused and will make it easier for us to add support for the FRAME clause.

      Aggregations, FIRST_VALUE and LAST_VALUE will be handled by CustomFrameTemplate, and all remaining window functions (Ranking, ROW_NUMBER, LEAD and LAG) will be handled by DefaultFrameTemplate.

      Attachments

        Activity

          People

            adeneche Abdel Hakim Deneche
            adeneche Abdel Hakim Deneche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: