Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.0
-
None
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.