You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/12/31 20:24:00 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated CALCITE-3656:
------------------------------------
Labels: pull-request-available (was: )
> 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
>
>
> 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)