Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support Dates.CompoundPeriod in deserialization? #494

Open
schlichtanders opened this issue Jan 15, 2024 · 0 comments
Open

support Dates.CompoundPeriod in deserialization? #494

schlichtanders opened this issue Jan 15, 2024 · 0 comments

Comments

@schlichtanders
Copy link

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}}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant