You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Neal Richardson (Jira)" <ji...@apache.org> on 2022/07/11 18:54:00 UTC
[jira] [Closed] (ARROW-17044) [C++] Cast to duration from types other than int64
[ 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)