Open dhirschfeld opened 3 months ago
This error was observed using pandas
with pyarrow
dtypes.
Data was returned from a (databricks) database with columns of type decimal128(38, 10)
. Trying to multiply two columns raised the above ArrowInvalid
error.
The above MCVE demonstrates the issue using just pyarrow
.
Possibly related:
I'm not a maintainer but I was curious about this issue. A decimal128(38, 10)
times a decimal128(38, 10)
should be, at worst, a decimal256(76, 20)
. It does seem like a bug that it thinks the precision should be 77 and not 76.
Describe the bug, including details regarding any error messages, version, and platform.
MCVE
Component(s)
Python