Details

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

      Description

      TPC-H query 2 fails during preparation because even after decorrelation there is a CorrelatorRel present.

        Activity

        Hide
        julianhyde Julian Hyde added a comment -

        Close issues resolved in release 0.9.0-incubating (2014-08-25).

        Show
        julianhyde Julian Hyde added a comment - Close issues resolved in release 0.9.0-incubating (2014-08-25).
        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/incubator-optiq/commit/58ddf6bf .
        Hide
        julianhyde Julian Hyde added a comment -

        Minimal test case:

        select *
        from "hr"."depts" as d
        where "deptno" in (
          select d2."deptno"
          from "hr"."depts" as d2
          join "hr"."emps" as e2 using ("deptno")
        where d."deptno" = d2."deptno")
        

        Necessary factors seem to be a filter on top of a join, all inside the sub-query.

        Show
        julianhyde Julian Hyde added a comment - Minimal test case: select * from "hr" . "depts" as d where "deptno" in ( select d2. "deptno" from "hr" . "depts" as d2 join "hr" . "emps" as e2 using ( "deptno" ) where d. "deptno" = d2. "deptno" ) Necessary factors seem to be a filter on top of a join, all inside the sub-query.

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            julianhyde Julian Hyde
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development