Skip to content

feat(substrait): generate Substrait function YAML#22572

Open
notfilippo wants to merge 2 commits into
apache:mainfrom
notfilippo:filippo.rossi/feat-substrait-generate-substrait-function-yaml-nqvwpkqxzoqw
Open

feat(substrait): generate Substrait function YAML#22572
notfilippo wants to merge 2 commits into
apache:mainfrom
notfilippo:filippo.rossi/feat-substrait-generate-substrait-function-yaml-nqvwpkqxzoqw

Conversation

@notfilippo
Copy link
Copy Markdown
Member

Which issue does this PR close?

Closes #22563.

Rationale for this change

See linked issue.

What changes are included in this PR?

Adds datafusion_substrait::function_yaml, a configurable API for generating Substrait function YAML from a DataFusion function inventory.

Adds the print_substrait_function_yaml binary with stdout, --check, and --write modes.

Commits the generated DataFusion function YAML file under datafusion/substrait/extensions/, which is the bulk of the diff.

Are these changes tested?

Yes.

Are there any user-facing changes?

No breaking changes. This adds a new Substrait YAML generation API, binary, and generated extension artifact.

@github-actions github-actions Bot added the substrait Changes to the substrait crate label May 27, 2026
@notfilippo notfilippo marked this pull request as draft May 27, 2026 15:57
@notfilippo notfilippo force-pushed the filippo.rossi/feat-substrait-generate-substrait-function-yaml-nqvwpkqxzoqw branch from ab552df to 60c751f Compare May 27, 2026 16:01
@notfilippo notfilippo marked this pull request as ready for review May 27, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

substrait Changes to the substrait crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generate Substrait extension YAML from UDFs

1 participant