[
https://issues.apache.org/jira/browse/CALCITE-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Sitnikov resolved CALCITE-3656.
----------------------------------------
Fix Version/s: 1.22.0
Resolution: Fixed
Fixed in
https://github.com/apache/calcite/commit/be1b04d93dfdd6dd9fd16097b14e14e1162051de
> 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
> Fix For: 1.22.0
>
>
> 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)