alamb opened a new pull request #642:
URL: https://github.com/apache/arrow-rs/pull/642


   # Which issue does this PR close?
   
   re https://github.com/apache/arrow-rs/issues/641
   
   # Rationale for this change
   While working on https://github.com/apache/arrow-rs/issues/641 I found it 
challenging to determine what values weere in what ByteArray while debugging 
with `"{:?}"`
   
   # What changes are included in this PR?
   1. Add more human readable std::debug::Format impl for ByteArray
   
   Before this PR the output for a string looks like this
   ```
   ByteArray { data: Some(BufferPtr { data: [97, 110, 100, 111, 118, 101, 114], 
start: 0, len: 7, mem_tracker: None }) }
   ```
   
   After this PR, the output looks like:
   
   ```
   ByteArray { data: "andover" }
   ```
   # Are there any user-facing changes?
   
   Debugging output is different for `ByteArray`


-- 
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-unsubscr...@arrow.apache.org

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


Reply via email to