emilk opened a new pull request, #8424:
URL: https://github.com/apache/arrow-rs/pull/8424

   # Rationale for this change
   Despite us having `Display` implementations for `DataType`, a lot of error 
messages still use `Debug`. See for instance:
   
   * https://github.com/apache/datafusion/pull/17565
   * https://github.com/apache/arrow-rs/pull/8290
   
   Therefor I want to make sure the `Debug` formatting is not _utterly 
horrible_. This PR makes things… slightly better.
   
   # What changes are included in this PR?
   Omits fields of `Field` that have their "default" values.
   
   # Are these changes tested?
   Yes, there are new tests.
   
   # Are there any user-facing changes?
   Though this changes the `Debug` formatting, I would NOT consider this a 
breaking change, because nobody should rely on consistent `Debug` formatting. 
See for instance https://doc.rust-lang.org/std/fmt/trait.Debug.html#stability


-- 
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]

Reply via email to