etseidl opened a new pull request, #6457:
URL: https://github.com/apache/arrow-rs/pull/6457
# Rationale for this change
When compiling parquet tests with default features, several unused imports
are flagged.
```
% cargo clippy -p parquet --all-targets -- -D warnings
Checking parquet v53.0.0 (/Users/seidl/src/arrow-rs/parquet)
error: unused import: `std::fs::File`
--> parquet/src/file/metadata/reader.rs:645:9
|
645 | use std::fs::File;
| ^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
error: unused imports: `Read`, `SeekFrom`, and `Seek`
--> parquet/src/file/metadata/reader.rs:648:19
|
648 | use std::io::{Read, Seek, SeekFrom};
| ^^^^ ^^^^ ^^^^^^^^
error: unused imports: `AtomicUsize` and `Ordering`
--> parquet/src/file/metadata/reader.rs:649:29
|
649 | use std::sync::atomic::{AtomicUsize, Ordering};
| ^^^^^^^^^^^ ^^^^^^^^
```
# What changes are included in this PR?
Only include the above if the "async" feature is enabled.
# Are there any user-facing changes?
No
<!--
If there are user-facing changes then we may require documentation to be
updated before approving the PR.
-->
<!---
If there are any breaking changes to public APIs, please add the `breaking
change` label.
-->
--
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]