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

RelBuilder should rename fields without creating an identity Project

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: