martin-g commented on code in PR #19931:
URL: https://github.com/apache/datafusion/pull/19931#discussion_r2722429840
##########
datafusion-examples/examples/data_io/parquet_encrypted.rs:
##########
@@ -55,7 +55,7 @@ pub async fn parquet_encrypted() ->
datafusion::common::Result<()> {
// Create a temporary file location for the encrypted parquet file
let tmp_source = TempDir::new()?;
- let tempfile = tmp_source.path().join("cars_encrypted");
+ let tempfile = tmp_source.path().join("cars_encrypted.parquet");
Review Comment:
If there is no file extension and there is no configuration (`Some(true)`)
then the heuristics decide that this is a folder and creates a Parquet
partition file.
If there is no config and the path has file extension then it writes all the
content in this file (no partitions)
--
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]