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

The digests are not same for the common sub-expressions in HepPlanner

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.15.0
    • 1.16.0
    • None
    • None

    Description

      The digests are not same for the same sub-query.
      like query

      select * from (select * from dept union all select * from dept)a;
      

      When run the query, The union relNode has two inputs, and it's same expectly and it's the same object instead of the print of plan, but Now they are not same.
      And for Test testReplaceCommonSubexpression, the rule is only firing once, but now it's two.

      Attachments

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              perid007 LeoWangLZ
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: