[
https://issues.apache.org/jira/browse/CALCITE-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shuo Cheng updated CALCITE-3721:
--------------------------------
Description:
In `AggregateExpandDistinctAggregatesRule`, when the distinct aggregate call is
rewritten using
groupingSets, the filter of the distinct aggregate call itself is lost
unexpected.
was:
In `AggregateExpandDistinctAggregatesRule`, when the distinct aggregate call is
rewriting using
groupingSets, the filter of the distinct aggregate call itself is lost
unexpected.
> Filter of distinct aggregate call is lost after applying
> `AggregateExpandDistinctAggregatesRule`
> ------------------------------------------------------------------------------------------------
>
> Key: CALCITE-3721
> URL: https://issues.apache.org/jira/browse/CALCITE-3721
> Project: Calcite
> Issue Type: Bug
> Components: core
> Affects Versions: 1.21.0
> Reporter: Shuo Cheng
> Assignee: Shuo Cheng
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.22.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In `AggregateExpandDistinctAggregatesRule`, when the distinct aggregate call
> is rewritten using
> groupingSets, the filter of the distinct aggregate call itself is lost
> unexpected.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)