rok commented on code in PR #8162:
URL: https://github.com/apache/arrow-rs/pull/8162#discussion_r2310811588
##########
parquet/tests/encryption/encryption_async.rs:
##########
@@ -527,28 +770,17 @@ async fn test_multi_threaded_encrypted_writing() {
// Create a temporary file to write the encrypted data
let temp_file = tempfile::tempfile().unwrap();
- let mut writer = ArrowWriter::try_new(&temp_file,
metadata.schema().clone(), props).unwrap();
+ let mut writer = ArrowWriter::try_new(&temp_file, schema.clone(),
props).unwrap();
// LOW-LEVEL API: Use low level API to write into a file using multiple
threads
// Get column writers
+ #[allow(deprecated)]
Review Comment:
That's a fair point! I introduced a new test that uses the new API
(`test_multi_threaded_encrypted_writing_replace_deprecated_api`) to run besides
the one using the old API one
(`test_multi_threaded_encrypted_writing_deprecated`). They differ slightly
(arrow_writers high-level API can't be used after the new low-level API borrows
it's SerializedWriter) but I think we have the bases covered.
--
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]