You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2022/01/19 14:10:00 UTC

[jira] [Created] (ARROW-15365) [Python] Expose full cast options in the pyarrow.compute.cast function

Joris Van den Bossche created ARROW-15365:
---------------------------------------------

             Summary: [Python] Expose full cast options in the pyarrow.compute.cast function
                 Key: ARROW-15365
                 URL: https://issues.apache.org/jira/browse/ARROW-15365
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
            Reporter: Joris Van den Bossche


Currently, the {{pc.cast}} function has a {{safe=True/False}} option, which provides a short-cut to setting the cast options. 

But the actual kernel has more detailed options that can be tuned, and this is already exposed in the CastOptions class in python (allow_int_overflow, allow_time_truncate, ...). So we should ensure that we can pass such a CastOptions object to the {{cast}} kernel directly as well.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)