[
https://issues.apache.org/jira/browse/CALCITE-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Danny Chen updated CALCITE-3656:
--------------------------------
Fix Version/s: (was: 1.22.0)
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)