[
https://issues.apache.org/jira/browse/ARROW-17044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neal Richardson closed ARROW-17044.
-----------------------------------
Resolution: Duplicate
> [C++] Cast to duration from types other than int64
> --------------------------------------------------
>
> Key: ARROW-17044
> URL: https://issues.apache.org/jira/browse/ARROW-17044
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Neal Richardson
> Priority: Major
> Labels: kernel
>
> From R:
> {code}
> > Scalar$create(1L)$cast(duration())
> Error: NotImplemented: Unsupported cast from int32 to duration using function
> cast_duration
> {code}
> But {{Scalar$create(1L)$cast(int64())$cast(duration())}} works.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)