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

RelBuilder should rename fields without creating an identity Project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.9.0
    • core
    • None

    Description

      RelBuilder does not, and should not, translate identity projects, even if they rename fields. But when building further relational expressions (e.g. a project) the fields should appear to have their new name.

      This requires some tricky implementation. In the RelBuilder, the top RelNode on the stack may have a particular row type (say fields (x, y, z)) yet if will have a frame that indicates that the field names from the user's perspective are (a, b, c).

      Attachments

        Activity

          People

            julianhyde Julian Hyde
            jark Jark Wu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: