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

Maryann Xue commented on CALCITE-1688:
--------------------------------------

Could you please take a look at https://github.com/apache/calcite/pull/398, 
[~julianhyde]? This is the issue causing one of the hanging tests in 
Calcite-Phoenix (cc [~rajeshbabu]).

> Query containing set operations (UNION/MINUS/INTERSECT) would cause infinite 
> loop in materialization substitution
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-1688
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1688
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.11.0
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>            Priority: Minor
>
> Example: {{select a from t1 union all select a from t2}} where materialized 
> views are defined on t1 and/or t2.
> This is because MutableMultiRel, being super class of MutableSetOp, did not 
> set "parent" and "ordinal" for its input rels.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to