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

Fix expansion of view of another view

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0-incubating
    • Component/s: None
    • Labels:
      None

      Description

      In PlannerImpl:ViewExpanderImpl, the code does not pass in ViewExpalnderImpl. That cause a view of another view will not be expanded properly.

      Also, ViewExpanderImpl's SqlToRelConverter does not have the same setting, or does not go throw the same transformation (flattenTypes, decorrelateQuery) step as the regular one in convert() method. That means some transformation might be missing to be applied to RelNode generated from a view.

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              jni Jinfeng Ni
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: