Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: make the sql feature truly optional#20625

Merged
adriangb merged 1 commit intoapache:mainfrom
lakehq:sql-feature-fix
Mar 3, 2026
Merged

fix: make the sql feature truly optional#20625
adriangb merged 1 commit intoapache:mainfrom
lakehq:sql-feature-fix

Conversation

@linhr
Copy link
Contributor

@linhr linhr commented Mar 1, 2026

Which issue does this PR close?

N/A

Rationale for this change

When enabling the recursive_protection feature for the datafusion crate, the sql feature is enabled. This is undesirable if the downstream project would like the sql feature to be off.

What changes are included in this PR?

Use the ? syntax for features of dependencies for recursive_protection. This was already correctly done for other features such as unicode_expressions.

https://doc.rust-lang.org/cargo/reference/features.html

Are these changes tested?

N/A

Are there any user-facing changes?

This makes dependency management better for downstream projects and is not a breaking change.

@github-actions github-actions bot added the core Core DataFusion crate label Mar 1, 2026
@adriangb adriangb added this pull request to the merge queue Mar 3, 2026
Merged via the queue into apache:main with commit 0bf3767 Mar 3, 2026
31 checks passed
@adriangb
Copy link
Contributor

adriangb commented Mar 3, 2026

@comphead could you cherry pick this into the 53 branch?

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

Labels

core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants