File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1290,8 +1290,6 @@ mod tests {
1290
1290
1291
1291
use std:: fs:: File ;
1292
1292
1293
- #[ cfg( feature = "encryption" ) ]
1294
- use crate :: arrow:: arrow_reader:: tests:: verify_encryption_test_file_read;
1295
1293
#[ cfg( feature = "encryption" ) ]
1296
1294
use crate :: arrow:: arrow_reader:: ArrowReaderMetadata ;
1297
1295
#[ cfg( feature = "encryption" ) ]
@@ -1300,6 +1298,8 @@ mod tests {
1300
1298
use crate :: arrow:: ARROW_SCHEMA_META_KEY ;
1301
1299
#[ cfg( feature = "encryption" ) ]
1302
1300
use crate :: encryption:: encrypt:: EncryptionKey ;
1301
+ #[ cfg( feature = "encryption" ) ]
1302
+ use crate :: util:: test_common:: encryption_util:: verify_encryption_test_file_read;
1303
1303
use arrow:: datatypes:: ToByteSlice ;
1304
1304
use arrow:: datatypes:: { DataType , Schema } ;
1305
1305
use arrow:: error:: Result as ArrowResult ;
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ use arrow_array::{types, RecordBatch};
27
27
use futures:: TryStreamExt ;
28
28
use std:: fs:: File ;
29
29
30
+ /// Tests reading an encrypted file from the parquet-testing repository
30
31
pub ( crate ) fn verify_encryption_test_file_read (
31
32
file : File ,
32
33
decryption_properties : FileDecryptionProperties ,
You can’t perform that action at this time.
0 commit comments