-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Milestone
Description
Git issue LInk : #2627
I want to cast pyarrow table column from decimal(38,4) to int64.
col.cast(pa.int64())
Error:
File "pyarrow/table.pxi", line 443, in pyarrow.lib.Column.cast
File "pyarrow/error.pxi", line 89, in pyarrow.lib.check_status
pyarrow.lib.ArrowNotImplementedError: No cast implemented from decimal(38, 4) to int64
Python version : 3.6.5
Pyarrow version : 0.10.0
is it not implemented yet or I am not using it correctly? If not implemented yet, then any work around to cast columns?
Environment: Python version : 3.6.5
Pyarrow version : 0.10.0
Reporter: Kavita Sheth
Assignee: Jacek Pliszka / @JacekPliszka
Related issues:
- [Python] Review Developer build instructions for conda and non-conda users (is related to)
- [C++] Support casting between decimal types with compatible precision/scales (supercedes)
PRs and other links:
Note: This issue was originally created as ARROW-3329. Please see the migration documentation for further details.