Skip to content

Support as_datetime::<DataType::Interval~> #4969

@NiwakaDev

Description

@NiwakaDev

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

I'd like to call as_datetime::<DataType::Interval~> to address apache/datafusion#7097.

Is it possible to return Some(~), not None?:

DataType::Interval(_) => None,

Also, is it possible to uncomment the following lines?:

// impl ArrowTemporalType for IntervalYearMonthType {}
// impl ArrowTemporalType for IntervalDayTimeType {}
// impl ArrowTemporalType for IntervalMonthDayNanoType {}

Describe the solution you'd like

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    development-processRelated to development process of arrow-rsenhancementAny 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