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

Query containing set operations (UNION/MINUS/INTERSECT) would cause infinite loop in materialization substitution

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.11.0
    • Fix Version/s: 1.12.0
    • Component/s: core
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              maryannxue Maryann Xue
              Reporter:
              maryannxue Maryann Xue
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: