Skip to content

chore: gate Parquet opener encryption on parquet_encryption - #25907

Open
neilconway wants to merge 1 commit into
apache:mainfrom
neilconway:neilc/fix-clippy-no-parquet-encryption
Open

neilconway wants to merge 1 commit into
apache:mainfrom
neilconway:neilc/fix-clippy-no-parquet-encryption

Conversation

@neilconway

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

  • N/A

Rationale for this change

Without the parquet_encryption feature, clippy fails on a dead stub in opener/encryption.rs (clippy::unused_async_trait_impl). For example:

cargo clippy -p datafusion-datasource-parquet --all-targets -- -D warnings

Every use of the module is already gated on the feature, so gate the module itself and remove the stubs. CI doesn't catch this because its --workspace build enables the feature.

What changes are included in this PR?

See above.

What is the testing strategy for this PR?

Tests pass, clippy command above now passes without warnings.

Are there any user-facing changes?

No.

Without the `parquet_encryption` feature, clippy fails on a dead stub in
`opener/encryption.rs` (`clippy::unused_async_trait_impl`). For example:

    cargo clippy -p datafusion-datasource-parquet --all-targets -- -D warnings

Every use of the module is already gated on the feature, so gate the
module itself and remove the stubs. CI doesn't catch this because its
`--workspace` build enables the feature.
@github-actions github-actions Bot added the datasource Changes to the datasource crate label Sep 30, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.60%. Comparing base (de9d1f9) to head (c7b723d).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #25907      +/-   ##
==========================================
- Coverage   82.60%   82.60%   -0.01%     
==========================================
  Files        1144     1144              
  Lines      441971   441971              
  Branches   441971   441971              
==========================================
- Hits       365081   365073       -8     
- Misses      54807    54814       +7     
- Partials    22083    22084       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

datasource Changes to the datasource crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants