wirable23 opened a new issue, #35576:
URL: https://github.com/apache/arrow/issues/35576
### Describe the bug, including details regarding any error messages,
version, and platform.
```
a = pa.array([545803904.0], type=pa.float32())
>>> a.cast(pa.decimal128(38, 18))
<pyarrow.lib.Decimal128Array object at 0x000001DE8FF59840>
[
545803886.966396699654750208
]
>>>
```
While encoding of decimal128 and float32 is very different, the difference
after the cast seems much larger than expected.
### Component(s)
Python
--
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]