Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
pyarrow.dataset.ScalarExpression doesn't accept numpy scalars. This would be useful as values coming out of pandas or numpy are such.
Example:
import pyarrow.dataset as ds import numpy as np ds.ScalarExpression(np.int64(2))
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-18-805083da7827> in <module> ----> 1 ds.ScalarExpression(np.int64(2)) ~/miniconda3/envs/kartothek/lib/python3.7/site-packages/pyarrow/_dataset.pyx in pyarrow._dataset.ScalarExpression.__init__() TypeError: Not yet supported scalar value: 2
Attachments
Issue Links
- links to