Neal Richardson created ARROW-17044:
---------------------------------------

             Summary: [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


>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)

Reply via email to