rohanjain101 commented on issue #34901:
URL: https://github.com/apache/arrow/issues/34901#issuecomment-1509992674
Regarding 3, I think atleast the error should be improved if its an internal
limitation, for example:
```
>>> pa.array([18014398509481984], type=pa.float64())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "pyarrow\array.pxi", line 320, in pyarrow.lib.array
File "pyarrow\array.pxi", line 39, in pyarrow.lib._sequence_to_array
File "pyarrow\error.pxi", line 144, in
pyarrow.lib.pyarrow_internal_check_status
File "pyarrow\error.pxi", line 100, in pyarrow.lib.check_status
pyarrow.lib.ArrowInvalid: Integer value 18014398509481984 is outside of the
range exactly representable by a IEEE 754 double precision value
```
The error message says that 18014398509481984 is not exactly representable
by an IEE 754 double, when according to the IEEE 754, it can be represented
exactly. Should the error be clarified to say its an internal limitation?
--
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]