Skip to content

Support casting int64 to interval #7988

@brancz

Description

@brancz

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

We have a lot of data where there is a duration that's stored as number of nanoseconds, and we'd like to do all the things we can do with intervals with it.

Describe the solution you'd like

Implement support for casting int64 to interval types.

Describe alternatives you've considered

Change the data to be produced as intervals immediately. Unfortunately this is historic data though and that is not really possible.

Additional context

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow cratedocumentationImprovements or additions to documentationenhancementAny new improvement worthy of a entry in the changelog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions