Skip to content

support Dates.CompoundPeriod in deserialization? #494

@schlichtanders

Description

@schlichtanders

First time I am using Arrow with Dates.jl and unfortunatly immediately run into something which I expected to be supported.

When writing and reading a DataFrame with Dates durations like CompoundPeriod, Arrow does not automatically reconstruct the type. I know I can add my custom conversion rules, but is there a reason why this conversion rule is not there by default?

Concretely, my Dates.CompoundPeriod gets transformed into NamedTuple{(:periods,), Tuple{Vector{Dates.Second}}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions