datbth opened a new issue, #43877:
URL: https://github.com/apache/arrow/issues/43877

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   ## Description
   
![image](https://github.com/user-attachments/assets/e8d74e5e-ce88-43c0-b6cb-d61c392536ce)
   
   ```ruby
   schema = Arrow::Schema.new([Arrow::Field.new('x', {type: 
:decimal128,precision: 38,scale:9})])
   table = Arrow::Table.new(schema, [[BigDecimal(0)]])
   puts table[0][0].size
   ```
   
![image](https://github.com/user-attachments/assets/121e388a-a4eb-4365-81bb-b8d6b6e5419f)
   
   
![image](https://github.com/user-attachments/assets/41e4649e-d8ed-4bdd-9997-80cddde2de66)
   
   Not sure if we can do something here or do we have to file an issue in 
https://github.com/ruby/bigdecimal?  
   (I don't know the exact standard/specification of the string representation 
`'0.E-9'` to communicate with Ruby BigDecimal folks)
   
   ## Additional details
   * Ruby: 2.7.4p191 [x86_64-linux]
   * Platform: Ubuntu 24.04
   * `red-arrow`: 17.0.0
   * `bigdecimal`: 3.1.7
   
   ### Component(s)
   
   Ruby


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

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

Reply via email to