Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(substrait): remove dependency on datafusion default features #13594

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

notfilippo
Copy link
Contributor

Which issue does this PR close?

Closes #13593

What changes are included in this PR?

  • physical feature, which enables production and consumption of physical substrait plans.

Are these changes tested?

Yes, running cargo tree -p datafusion-substrait with and without the --no-default-features shows that parquet and many other dependencies are not included.

Are there any user-facing changes?

No, the new feature is enabled by default. Users who might want to benefit from this change will have to use default-features = false when including the datafusion-substrait crate.

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @notfilippo -- this looks like a good change to me.

I wonder if there is some way we can add a CI test for this (to avoid breaking it in the future) -- perhaps something like

run: cargo check --all-targets --no-default-features -p datafusion-common

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

Successfully merging this pull request may close these issues.

[substrait] make dependency on parquet optional
2 participants