Class PruneCountAggregationOverScalar

  • All Implemented Interfaces:
    Rule<AggregationNode>

    public class PruneCountAggregationOverScalar
    extends Object
    implements Rule<AggregationNode>
    A count over a subquery can be reduced to a VALUES(1) provided the subquery is a scalar