Class ProjectOverSumToSum0Rule

All Implemented Interfaces:
TransformationRule

public class ProjectOverSumToSum0Rule extends RelRule<ProjectOverSumToSum0Rule.Config> implements TransformationRule
Planner rule that converts SUM to SUM0 when it is the aggregate for an OVER clause inside the project list. Need to ensure that the result of the aggregate function for an OVER clause is not NULL.