Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1182

Add ProjectRemoveRule to pre-processing program of materialization substitution

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.8.0
    • core

    Description

      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.

      Attachments

        Activity

          People

            maryannxue Wei Xue
            maryannxue Wei Xue
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: