thomas-k-cameron commented on issue #6524:
URL: 
https://github.com/apache/arrow-datafusion/issues/6524#issuecomment-1585676871

   I think that's because confy-table uses u16.
   
   Your error says,
   ```
   thread 'main' panicked at 'attempt to add with overflow', 
/Users/dadepo/.cargo/registry/src/github.com-1ecc6299db9ec823/comfy-table-6.1.4/src/utils/mod.rs:44:9
   stack backtrace:
      0: rust_begin_unwind
                at 
/rustc/c18a5e8a5b1afb0d7a582fe9ebad4c1996c90da3/library/std/src/panicking.rs:575:5
   ```
   
   and on the confy-table, you can find
   https://github.com/Nukesor/comfy-table/blob/main/src/utils/mod.rs
   ```rust
       pub fn width(&self) -> u16 {
           self.content_width + self.padding.0 + self.padding.1
       }
   ```


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