You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "lifangzheng (Jira)" <ji...@apache.org> on 2020/08/25 08:19:00 UTC

[jira] [Commented] (CALCITE-4192) When the relNode has passed the AggregateProjectMergeRule rule, it will be wrong to calculate the column blood relationship through RelMdColumnOrigins tool

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

lifangzheng commented on CALCITE-4192:
--------------------------------------

calcite will produce a project under agg to make sure that group set has a normalized index like this:

!image-2020-08-25-16-16-34-185.png|width=560,height=403!

 

but AggregateProjectMergeRule broke the agreement as the issue described。

> When the relNode has passed the AggregateProjectMergeRule rule, it will be wrong to calculate the column blood relationship through RelMdColumnOrigins tool
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-4192
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4192
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.25.0
>            Reporter: lifangzheng
>            Priority: Major
>             Fix For: next
>
>         Attachments: image-2020-08-25-15-53-19-575.png, image-2020-08-25-15-55-31-702.png, image-2020-08-25-16-16-34-185.png
>
>
> !image-2020-08-25-15-53-19-575.png|width=415,height=280!
>  
> !image-2020-08-25-15-55-31-702.png|width=423,height=270!
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)