[ 
https://issues.apache.org/jira/browse/CALCITE-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012509#comment-17012509
 ] 

Danny Chen commented on CALCITE-3721:
-------------------------------------

Thanks [~icshuo] for reporting this, for a plan rule fix, i would suggest to 
give a detail plan change demo with/without your fix in the issue description 
part, in order every one who opened this issue know exactly what you want to 
fix.

> 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)

Reply via email to