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

RelBuilder's project() doesn't preserve alias

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.11.0
    • core
    • None

    Description

      The alias should be preserved by the project node, e.g.

      .scan("EMP")
      .as("EMP_alias")
      .project(...) // resets alias to null
      .project(builder.field("EMP_alias", "DEPTNO")) // fails that no such alias exists
      

      Attachments

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              jbalint@gmail.com Jess Balint
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: