Vladimir Sitnikov created CALCITE-3656:
------------------------------------------

             Summary: EnumerableNestedLoopJoin cost should account for cost of 
inner restarts
                 Key: CALCITE-3656
                 URL: https://issues.apache.org/jira/browse/CALCITE-3656
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.21.0
            Reporter: Vladimir Sitnikov
            Assignee: Vladimir Sitnikov


EnumerableNestedLoopJoin uses makeCost(rowCount, 0, 0) which does not account 
the efforts spent in restarting the nested loops.

For instance: select * from emp, dept where false produces 0 rows, however, it 
still has non-trivial execution efforts.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to