Skip to content

[CALCITE-7641] Materialize view rules with UnionRewritingPullProgram on a HepPlanner throws IllegalArgumentException#5088

Merged
rubenada merged 1 commit into
apache:mainfrom
rubenada:CALCITE-7641
Jul 8, 2026
Merged

[CALCITE-7641] Materialize view rules with UnionRewritingPullProgram on a HepPlanner throws IllegalArgumentException#5088
rubenada merged 1 commit into
apache:mainfrom
rubenada:CALCITE-7641

Conversation

@rubenada

@rubenada rubenada commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Jira Link

CALCITE-7641

Changes Proposed

Strip node subtree on Materialize View rules before applying UnionRewritingPullProgram (if the subtree contained already HepRelVertex wrappers, i.e. the rule was fired inside a HepPlanner).

…on a HepPlanner throws IllegalArgumentException
@sonarqubecloud

sonarqubecloud Bot commented Jul 7, 2026

Copy link
Copy Markdown

@rubenada rubenada added the LGTM-will-merge-soon Overall PR looks OK. Only minor things left. label Jul 7, 2026
@rubenada rubenada merged commit 0102599 into apache:main Jul 8, 2026
35 checks passed
@rubenada

rubenada commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the review @xiedeyantu , @xuzifu666 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LGTM-will-merge-soon Overall PR looks OK. Only minor things left.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants