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)

Reply via email to