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

Fix expansion of view of another view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0-incubating
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: