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.

        Activity

        Hide
        julianhyde Julian Hyde added a comment -
        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/468a161b . Venky & Jinfeng Ni , thanks for the patch!
        Hide
        jnadeau Jacques Nadeau added a comment -

        Resolved in release 1.4.0-incubating (2015-08-23)

        Show
        jnadeau Jacques Nadeau added a comment - Resolved in release 1.4.0-incubating (2015-08-23)

          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:

              Development