Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Abandoned
-
1.21.0
-
None
Description
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.
Attachments
Issue Links
- is related to
-
CALCITE-3657 EnumerableHashJoin should not use NLogN for costing
- Open
- is required by
-
CALCITE-3671 Join cost computation should consider join condition (equi vs non-equi)
- Open
- links to