You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2023/05/25 14:27:04 UTC
[GitHub] [arrow] pitrou commented on issue #35576: [C++] Unexpected float32/64 to decimal128 cast result
pitrou commented on issue #35576:
URL: https://github.com/apache/arrow/issues/35576#issuecomment-1563007667
`float32` seems to be a red herring here, as even `float64` exhibits the issue:
```pycon
>>> pa.array([1234567890.]).cast(pa.decimal128(38, 18))
<pyarrow.lib.Decimal128Array object at 0x7f05f4a3f0a0>
[
1234567889.999999973827018752
]
```
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org