tustvold commented on code in PR #2471:
URL: https://github.com/apache/arrow-rs/pull/2471#discussion_r947832782
##########
parquet/src/data_type.rs:
##########
@@ -36,29 +36,27 @@ use crate::util::{
/// Rust representation for logical type INT96, value is backed by an array of
`u32`.
/// The type only takes 12 bytes, without extra padding.
-#[derive(Clone, Debug, PartialOrd, Default)]
+#[derive(Clone, Debug, PartialOrd, Default, PartialEq, Eq)]
Review Comment:
https://github.com/apache/arrow-rs/blob/master/parquet/src/column/writer/mod.rs#L1036
doesn't appear to special case this type, so this crate is currently
performing unsigned little endian comparison.
##########
parquet/src/data_type.rs:
##########
@@ -36,29 +36,27 @@ use crate::util::{
/// Rust representation for logical type INT96, value is backed by an array of
`u32`.
/// The type only takes 12 bytes, without extra padding.
-#[derive(Clone, Debug, PartialOrd, Default)]
+#[derive(Clone, Debug, PartialOrd, Default, PartialEq, Eq)]
Review Comment:
https://github.com/apache/arrow-rs/blob/master/parquet/src/column/writer/mod.rs#L1036
doesn't appear to special case this type, so this crate is currently
performing unsigned little endian comparison. I don't think this is correct
--
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]