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

RelBuilder's project() doesn't preserve alias

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment