[
https://issues.apache.org/jira/browse/CALCITE-3330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16925409#comment-16925409
]
Chunwei Lei commented on CALCITE-3330:
--------------------------------------
It seems to be the same with CALCITE-2204.
> 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
> Time Spent: 20m
> 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.2#803003)