Skip to content

[CALCITE-7895] Interpreter fails to execute plans containing EnumerableBindable inputs - #5367

Open
zzwqqq wants to merge 1 commit into
apache:mainfrom
zzwqqq:fix-interpreter-enumerable-boundary
Open

zzwqqq wants to merge 1 commit into
apache:mainfrom
zzwqqq:fix-interpreter-enumerable-boundary

Conversation

@zzwqqq

@zzwqqq zzwqqq commented Oct 28, 2026

Copy link
Copy Markdown
Member

Jira Link

CALCITE-7895

Changes Proposed

Interpreter currently walks into subtrees that EnumerableBindable and EnumerableInterpretable execute themselves. Its rewrites can break Enumerable code generation, and EnumerableBindable also fails to register its output.

Skip these subtrees during interpreter optimization and compilation. Register EnumerableBindable output through Compiler.enumerable() and pass the query's DataContext to the converter implementations.

@sonarqubecloud

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant