[ 
https://issues.apache.org/jira/browse/ARROW-6778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-6778:
----------------------------------
    Labels: pull-request-available  (was: )

> [C++] Support DurationType in Cast kernel
> -----------------------------------------
>
>                 Key: ARROW-6778
>                 URL: https://issues.apache.org/jira/browse/ARROW-6778
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Joris Van den Bossche
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, duration is not yet supported in basic cast operations (using the 
> python binding from ARROW-5855, currently from my branch, not yet merged):
> {code}
> In [25]: arr = pa.array([1, 2])
> In [26]: arr.cast(pa.duration('s'))  
> ...
> ArrowNotImplementedError: No cast implemented from int64 to duration[s]
> In [27]: arr = pa.array([1, 2], pa.duration('s'))  
> In [28]: arr.cast(pa.duration('ms'))
> ...
> ArrowNotImplementedError: No cast implemented from duration[s] to duration[ms]
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to