You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/12/16 09:21:12 UTC

[GitHub] [arrow-rs] Urgau commented on issue #1043: support numeric to decimal data type

Urgau commented on issue #1043:
URL: https://github.com/apache/arrow-rs/issues/1043#issuecomment-995587006


   > I bisected the 1e-15 conversion regression down to this change-set between nightlies.
   > 
   > [rust-lang/rust@1af55d1...efd0483](https://github.com/rust-lang/rust/compare/1af55d19c...efd048394)
   
   From your range of commit you can see that there is a commit named [Automatic exponential formatting in Debug](https://github.com/rust-lang/rust/commit/8731d4dfb479914a91f650f4f124528e332e8128) that added an internal logic that switch to the exponential representation in some cases when using the `Debug` formatter.
   Rust make no promises about `Debug` formatting and can change it's output anytime for any reason but this is not the case for the `Display` formatter which has guaranties for how it display thing.
   
   I would suggest changing your formatting to the `Display` (ie `write!(f, "{:?}", value)` -> `write!(f, "{}", value)`) formatter.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org