emilk commented on code in PR #10551:
URL: https://github.com/apache/arrow-rs/pull/10551#discussion_r3718413514
##########
parquet/src/arrow/array_reader/primitive_array.rs:
##########
@@ -671,6 +671,8 @@ mod tests {
;
// create expected array as primitive, and cast to result type
+ // The cast is a no-op when the source and result types are
the same.
+ #[allow(trivial_numeric_casts)]
Review Comment:
good call
--
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]