[
https://issues.apache.org/jira/browse/CALCITE-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16728654#comment-16728654
]
Lantao Jin commented on CALCITE-2727:
-------------------------------------
[~julianhyde] this issue and fixing is straightforward and easy, UT for this
seems certainly complicated. For example, there are two materialized views, if
no table reference found in first one, the whole perform() will be return.
There is no chance to run the second one.
> MV rewriting looping broken out falsely when view table reference set is empty
> ------------------------------------------------------------------------------
>
> Key: CALCITE-2727
> URL: https://issues.apache.org/jira/browse/CALCITE-2727
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: Lantao Jin
> Assignee: Julian Hyde
> Priority: Major
>
> When we iterate through all applicable materializations trying to rewrite the
> given query, no table references on this MV, it should be skipped in this
> iteration.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)