[ https://issues.apache.org/jira/browse/CALCITE-4432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17254136#comment-17254136 ]
Ruben Q L commented on CALCITE-4432: ------------------------------------ UPDATE: finally I discovered the root cause of my CyclicMetadataException: it was also a metadata cost computation problem. At some point during Volcano optimization, an operator had a lower cost than its input's cost. The reason for this anomaly was a bug in the RelMdColumnUniqueness computation of a certain IndexScan operator in my downstream project. > 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)