[ https://issues.apache.org/jira/browse/CALCITE-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17118780#comment-17118780 ]
Haisheng Yuan commented on CALCITE-3939: ---------------------------------------- Thanks for reporting the issue, [~anha]. [~botong] Can you take a look? I am wondering why CustomScan doesn't trigger RuleX after set merge. Does RuleX look into the siblings of Project in the RelSet through RelSubset? > Change UnionEliminatorRule and ProjectRemoveRule to auto pruning > SubstitutionRule > --------------------------------------------------------------------------------- > > Key: CALCITE-3939 > URL: https://issues.apache.org/jira/browse/CALCITE-3939 > Project: Calcite > Issue Type: Improvement > Reporter: Botong Huang > Priority: Major > Fix For: 1.23.0 > > Time Spent: 50m > Remaining Estimate: 0h > > UnionEliminatorRule and ProjectRemoveRule are both pruning rules for a > RelNode. They can also become SubstitutionRule with autoprune enabled -- This message was sent by Atlassian Jira (v8.3.4#803005)