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

Prune parent RelNode when merging child RelSet with parent RelSet

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.23.0
    • core

    Description

      Suppose we have 2 RelSets:
      RelSet A: rel1
      RelSet B: rel2

      rel1 is the parent of rel2.

      If there is a transformation rule that transform rel1 to rel2, we will merge RelSet A and B. During merge process, we can safely prune rel1 to avoid further rule apply on rel1 and reduce search space, more importantly, avoid cyclic reference.

      Attachments

        Activity

          People

            hyuan Haisheng Yuan
            hyuan Haisheng Yuan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m