Skip to content

Commit 5bb94e0

Browse files
adriangbclaude
andcommitted
fix: gate FileDecryptionProperties import behind parquet_encryption
Both uses in opener/mod.rs are cfg-gated on the feature; with default features the import was unused after the module split. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
1 parent 5e64239 commit 5bb94e0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • datafusion/datasource-parquet/src/opener

‎datafusion/datasource-parquet/src/opener/mod.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ use std::mem;
4545
use std::sync::Arc;
4646

4747
use arrow::datatypes::{SchemaRef, TimeUnit};
48+
#[cfg(feature = "parquet_encryption")]
4849
use datafusion_common::encryption::FileDecryptionProperties;
4950
use datafusion_common::stats::Precision;
5051
use datafusion_common::{ColumnStatistics, Result, ScalarValue, Statistics, exec_err};

0 commit comments

Comments
 (0)