File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 94
94
//! println!("Read {} records.", record_batch.num_rows());
95
95
//! ```
96
96
//!
97
+ //! #![cfg(feature = "encryption")]
97
98
//! # Example of reading uniformly encrypted parquet file into arrow record batch
98
99
//!
100
+ #![ cfg( feature = "encryption" ) ]
99
101
//! ```rust
102
+ #![ cfg( not( feature = "encryption" ) ) ]
103
+ //! ```ignore
100
104
//! # use arrow_array::{Int32Array, ArrayRef};
101
105
//! # use arrow_array::{types, RecordBatch};
102
106
//! # use parquet::arrow::arrow_reader::{
135
139
//! println!("Read {} records.", record_batch.num_rows());
136
140
//! ```
137
141
//!
142
+ //! #![cfg(feature = "encryption")]
138
143
//! # Example of reading non-uniformly encrypted parquet file into arrow record batch
139
144
//!
145
+ #![ cfg( feature = "encryption" ) ]
140
146
//! ```rust
147
+ #![ cfg( not( feature = "encryption" ) ) ]
148
+ //! ```ignore
141
149
//! # use arrow_array::{Int32Array, ArrayRef};
142
150
//! # use arrow_array::{types, RecordBatch};
143
151
//! # use parquet::arrow::arrow_reader::{
You can’t perform that action at this time.
0 commit comments