Skip to content

feat!: preserve plan execution behavior, type aliases and parameter bindings - #124

Open
anasik wants to merge 3 commits into
substrait-io:mainfrom
anasik:feat/plan-envelope
Open

anasik wants to merge 3 commits into
substrait-io:mainfrom
anasik:feat/plan-envelope

Conversation

@anasik

@anasik anasik commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Closes #27

Completes the remaining Plan fields after #85:

  • execution_behavior: new ExecutionBehavior / VariableEvaluationMode on Plan. Read and always written. A plan without it is rejected, as the spec marks it required (same as version).
  • type_aliases: kept in PlanMetadata.TypeAliases using the existing TypeAliasTable, read and written through the plan's shared context. An alias reference whose anchor the plan doesn't declare is rejected on plan import and plan export. Standalone type conversion is unchanged.
  • parameter_bindings: new DynamicParameterBinding kept in PlanMetadata.ParameterBindings, in order. Duplicate anchors and missing values are rejected. Checking a binding against its DynamicParameter is left to Complete core expression variants and nested constructors #38.

named_lambdas remains rejected (#41).

Breaking: Plan, Plan.FromRelations and PlanBuilder constructors now take a required ExecutionBehavior, and IPlan gains ExecutionBehavior.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: be3e9eb7-9146-47c0-973d-bdcff17a3d09
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

This branch has not been deployed

No deployments
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.

Preserve the complete plan envelope

1 participant