rok commented on code in PR #7283:
URL: https://github.com/apache/arrow-rs/pull/7283#discussion_r1994455501


##########
parquet/src/arrow/mod.rs:
##########
@@ -93,6 +93,96 @@
 //!
 //! println!("Read {} records.", record_batch.num_rows());
 //! ```
+//!
+//! # Example of reading uniformly encrypted parquet file into arrow record 
batch
+//!
+#![cfg_attr(feature = "encryption", doc = "```rust")]
+#![cfg_attr(not(feature = "encryption"), doc = "```ignore")]
+//! # use arrow_array::{Int32Array, ArrayRef};
+//! # use arrow_array::{types, RecordBatch};

Review Comment:
   If I understand correctly this does the equivalent of:
   ```rust
   #![cfg(feature = "encryption")]
   //! ```rust
   #![cfg(not(feature = "encryption"))]
   //! ```ignore
   ```
   I noticed that docs generation fails if encryption is not enabled, however I 
tested now and on CI appears to have encryption enabled when testing docs so 
I'll remove these.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to