[ 
https://issues.apache.org/jira/browse/CALCITE-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haisheng Yuan resolved CALCITE-3330.
------------------------------------
    Fix Version/s: 1.22.0
       Resolution: Fixed

Fixed in 
https://github.com/apache/calcite/commit/e43595482617b1bb991407800c068a0c727e5c17.

> propagateCostImprovements() could result in stack overflow
> ----------------------------------------------------------
>
>                 Key: CALCITE-3330
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3330
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Xiening Dai
>            Assignee: Xiening Dai
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.22.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Current implementation uses depth first approach for propagating cost 
> improvements to parent rel nodes. This could lead to stack overflow if the 
> rel node hierarchy is very deep. Suggest use breath first approach for cost 
> propagation. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to