You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Thomas Rebele (Jira)" <ji...@apache.org> on 2025/03/17 22:50:00 UTC
[jira] [Assigned] (CALCITE-6886) RuleMatchVisualizer should merge sets when the planner detects their equivalence
[ https://issues.apache.org/jira/browse/CALCITE-6886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Rebele reassigned CALCITE-6886:
--------------------------------------
Assignee: Thomas Rebele
> RuleMatchVisualizer should merge sets when the planner detects their equivalence
> --------------------------------------------------------------------------------
>
> Key: CALCITE-6886
> URL: https://issues.apache.org/jira/browse/CALCITE-6886
> Project: Calcite
> Issue Type: Improvement
> Reporter: Thomas Rebele
> Assignee: Thomas Rebele
> Priority: Minor
> Attachments: CALCITE-6886.png
>
>
> If the planner merges two sets when they have been determined to be equivalent, the RuleMatchVisualizer does not merge them in the visualization. Instead, it keeps the second set with the subsets but no RelNode inside.
> To reproduce the issue, apply the RuleMatchVisualizer to VolcanoPlannerTest.testSetMergeMatchSubsetRule(). The set-2 should be merged into set-0, and the subset#11-set#2 into subset#12-set#0:
> !CALCITE-6886.png!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)