Xiening Dai created CALCITE-3330: ------------------------------------ Summary: 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
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)