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

JoinOnUniqueToSemiJoinRule should preserve field names, if possible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.32.0
    • 1.33.0
    • None

    Description

      The new rule pushes a copy of the original project without the alias names 

      builder.project(project.getProjects());
      

      This results in a new SQL plan without the name fields – they become $fN fields in different plans.

      Small change is required to put the names from the RelDataType of the Project similar to the other Semijoin rule.

      Attachments

        Issue Links

          Activity

            People

              ScottReynolds Scott Reynolds
              ScottReynolds Scott Reynolds
              Votes:
              0 Vote for this issue
              Watchers:
              6 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 - 20m
                  20m