You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/05/25 18:48:00 UTC
[jira] [Updated] (CALCITE-7549) Programs.of should support an optional RelOptListener
[ https://issues.apache.org/jira/browse/CALCITE-7549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated CALCITE-7549:
------------------------------------
Labels: pull-request-available (was: )
> Programs.of should support an optional RelOptListener
> -----------------------------------------------------
>
> Key: CALCITE-7549
> URL: https://issues.apache.org/jira/browse/CALCITE-7549
> Project: Calcite
> Issue Type: Improvement
> Components: core
> Reporter: Shikha
> Assignee: Shikha
> Priority: Minor
> Labels: pull-request-available
>
> Programs.of(HepProgram, boolean, RelMetadataProvider) constructs a HepPlanner internally with no way to attach a RelOptListener before findBestExp(). This makes it impossible to observe rule firings when composing phases via Programs.sequence.
> Proposal: Add an overload Programs.of(HepProgram, boolean, RelMetadataProvider, RelOptListener) that attaches the listener to the internally-constructed HepPlanner before calling setRoot/findBestExp. When listener is null, behavior is identical to the existing method.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)