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

createProject in RelOptUtil should uniquify field names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0-incubating
    • 1.5.0
    • None
    • None

    Description

      The method

       
      public static RelNode createProject(
            final RelFactories.ProjectFactory factory,
            final RelNode child, final List<Integer> posList)
      

      in RelOptUtil should uniquify fields before creating the Project operator. Otherwise, we might end up hitting an assertion in the Project constructor. This behavior was observed using the AggregateProjectMergeRule rule.

      Attachments

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: