[ 
https://issues.apache.org/jira/browse/CALCITE-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Maryann Xue resolved CALCITE-1182.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.8.0

Fixed in 
https://git1-us-west.apache.org/repos/asf?p=calcite.git;a=commit;h=576c1a1eeb138726387e55680f4a1bd2aa7ed023.

> Add ProjectRemoveRule to pre-processing program of materialization 
> substitution
> -------------------------------------------------------------------------------
>
>                 Key: CALCITE-1182
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1182
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Maryann Xue
>            Assignee: Maryann Xue
>            Priority: Minor
>              Labels: materializedviews, phoenix
>             Fix For: 1.8.0
>
>
> In VolcanoPlanner, we apply a simple pre-processing hep program to normalize 
> the "target" and "query" rels before materialization substitution. Currently 
> this program runs with two rules: FilterProjectTransposeRule and 
> ProjectMergeRule.
> We need an extra rule ProjectRemoveRule for the Phoenix use case where a 
> secondary index (modeled as materialized views) is defined on a view so the 
> materialized view "queryRel" may have an identity projection introduced by 
> this view.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to