chmp / serde_arrow

Convert sequences of Rust objects to Arrow tables
MIT License
60 stars 17 forks source link

chrono's NaiveTime & Duration #223

Open v1gnesh opened 4 weeks ago

v1gnesh commented 4 weeks ago

From the status page, I see that Arrow's types - Time32, Time64, and Duration are supported. How do I map chrono's NaiveTime, Duration to these types?

I see you've mentioned how chrono's NaiveDateTime is mapped to arrow DataType Date64 in 2/3 strategies.

EDIT: I hope I'm interpreting this right... looks like you're already introducing this via https://github.com/chmp/serde_arrow/pull/218