You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Vladimir Sitnikov (Jira)" <ji...@apache.org> on 2019/12/31 20:25:00 UTC
[jira] [Reopened] (CALCITE-3656) EnumerableNestedLoopJoin cost
should account for cost of inner restarts
[ https://issues.apache.org/jira/browse/CALCITE-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Sitnikov reopened CALCITE-3656:
----------------------------------------
Reverted as it required changes to Piglet tests. Will merge as all the tests pass
> 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
> Fix For: 1.22.0
>
> 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)