This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new f60841cf9 fix (#2432)
f60841cf9 is described below
commit f60841cf9e35b6f7d7098e9c25926cddd725c2d4
Author: Remzi Yang <[email protected]>
AuthorDate: Fri Aug 12 21:41:10 2022 +0800
fix (#2432)
Signed-off-by: remzi <[email protected]>
Signed-off-by: remzi <[email protected]>
---
arrow/src/datatypes/datatype.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arrow/src/datatypes/datatype.rs b/arrow/src/datatypes/datatype.rs
index 29f7d7269..97ddc0c4a 100644
--- a/arrow/src/datatypes/datatype.rs
+++ b/arrow/src/datatypes/datatype.rs
@@ -1487,8 +1487,8 @@ mod test {
let min_bytes = MIN_DECIMAL_BYTES_FOR_LARGER_EACH_PRECISION[i - 1];
max_value += "9";
min_value += "9";
- assert_eq!(max_decimal.raw_value(), max_bytes);
- assert_eq!(min_decimal.raw_value(), min_bytes);
+ assert_eq!(max_decimal.raw_value(), &max_bytes);
+ assert_eq!(min_decimal.raw_value(), &min_bytes);
}
}
}