Skip to content

Implement date_part for Duration #6245

Closed
@nrc

Description

@nrc

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

We'd like to be able to use extract in DataFusion with Durations in the same way as Intervals (see #6113, apache/datafusion#6327)

Describe the solution you'd like

Similar to #6071, implement date_part for Intervals

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    arrowChanges to the arrow crateenhancementAny 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