Skip to content

[C++] Cast to duration from types other than int64 #32353

Description

@asfimport

From R:

> Scalar$create(1L)$cast(duration())
Error: NotImplemented: Unsupported cast from int32 to duration using function cast_duration

But Scalar$create(1L)$cast(int64())$cast(duration()) works.

Reporter: Neal Richardson / @nealrichardson

Related issues:

Note: This issue was originally created as ARROW-17044. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions