We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fe9e06 commit 4b05facCopy full SHA for 4b05fac
parquet/src/record/api.rs
@@ -715,15 +715,19 @@ impl fmt::Display for Field {
715
Field::Float(value) => {
716
if !(1e-15..=1e19).contains(&value) {
717
write!(f, "{:E}", value)
718
+ } else if value.trunc() == value {
719
+ write!(f, "{}.0", value)
720
} else {
- write!(f, "{:?}", value)
721
+ write!(f, "{}", value)
722
}
723
724
Field::Double(value) => {
725
726
727
728
729
730
731
732
733
Field::Decimal(ref value) => {
0 commit comments