[
https://issues.apache.org/jira/browse/CALCITE-1782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-1782.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.13.0
Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/ac364e8c. Thanks
for the PR, [~wheat9]!
> AggregateExpandDistinctAggregatesRule should work on Aggregate instead of
> LogicalAggregate
> ------------------------------------------------------------------------------------------
>
> Key: CALCITE-1782
> URL: https://issues.apache.org/jira/browse/CALCITE-1782
> Project: Calcite
> Issue Type: Bug
> Reporter: Haohui Mai
> Assignee: Haohui Mai
> Fix For: 1.13.0
>
>
> {{AggregateExpandDistinctAggregatesRule}} expects the operator to be a
> subclass of {{LogicalAggregate}}:
> {noformat}
> public AggregateExpandDistinctAggregatesRule(
> Class<? extends LogicalAggregate> clazz,
> RelFactories.JoinFactory joinFactory) {
> this(clazz, false, RelBuilder.proto(Contexts.of(joinFactory)));
> }
> {noformat}
> However, {{LogicalAggregate}} is a final class which cannot be inherited.
> This jira proposes to change the signature from {{LogicalAggregate}} to
> {{Aggregate}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)