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

Liya Fan commented on CALCITE-4432:
-----------------------------------

[~rubenql] It seems the problem you are facing is similar to the one reported 
in this issue:

problem with the cost model =>
the cost of a child greater than that of its parent =>
the parent node is selected as the best of the child's RelSubset =>
a cycle is formed

> When the RelNode's input is the same subset as the node belonged to, not 
> choose this node as best.
> --------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-4432
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4432
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>            Reporter: Ziwei Liu
>            Assignee: Ziwei Liu
>            Priority: Major
>
> If a subset have a cyclic node, the node's input is this subset itself. If 
> the beset 



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

Reply via email to