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

AggregateExpandDistinctAggregatesRule should work on Aggregate instead of LogicalAggregate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.13.0
    • None
    • None

    Description

      AggregateExpandDistinctAggregatesRule expects the operator to be a subclass of LogicalAggregate:

        public AggregateExpandDistinctAggregatesRule(
            Class<? extends LogicalAggregate> clazz,
            RelFactories.JoinFactory joinFactory) {
          this(clazz, false, RelBuilder.proto(Contexts.of(joinFactory)));
        }
      

      However, LogicalAggregate is a final class which cannot be inherited. This jira proposes to change the signature from LogicalAggregate to Aggregate.

      Attachments

        Activity

          People

            wheat9 Haohui Mai
            wheat9 Haohui Mai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: