alamb commented on a change in pull request #1173:
URL: https://github.com/apache/arrow-rs/pull/1173#discussion_r784990770
##########
File path: parquet/src/record/api.rs
##########
@@ -1081,9 +1081,9 @@ mod tests {
fn test_convert_float_to_string() {
assert_eq!(format!("{}", Field::Float(1.0)), "1.0");
assert_eq!(format!("{}", Field::Float(9.63)), "9.63");
- assert_eq!(format!("{}", Field::Float(1e-15)), "0.000000000000001");
+ assert_eq!(format!("{}", Field::Float(1e-15)), "1e-15");
Review comment:
I have the same question as @jhorstmann on #1169
> I don't know why we assert that exact formatting though. Also seems
intentional because there is a range check in fmt::Display for
parquet::record::api.
--
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]