alamb commented on code in PR #19319:
URL: https://github.com/apache/datafusion/pull/19319#discussion_r2635748404


##########
datafusion-examples/data/parquet/alltypes_plain.parquet:
##########


Review Comment:
   Can we avoid copying the `alltypes-plain` example file too? That likely is 
also just some arbitrary choice of file in the example that could be rewritten 
to something more useful



##########
datafusion-examples/examples/data_io/parquet_encrypted.rs:
##########
@@ -32,13 +33,14 @@ pub async fn parquet_encrypted() -> 
datafusion::common::Result<()> {
     // The SessionContext is the main high level API for interacting with 
DataFusion
     let ctx = SessionContext::new();
 
-    // Find the local path of "alltypes_plain.parquet"
-    let testdata = datafusion::test_util::parquet_test_data();
-    let filename = &format!("{testdata}/alltypes_plain.parquet");
+    let path = PathBuf::from(env!("CARGO_MANIFEST_DIR"))

Review Comment:
   Maybe we can change this example to read in the cars.csv file and then write 
it back out as an encrypted parquet file?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to