waitingkuo commented on issue #3997: URL: https://github.com/apache/arrow-datafusion/issues/3997#issuecomment-1298824543
@comphead `arrow-rs` uses `chrono-rs` to extract these date parts. Chono-rs does have [nanosecond](https://docs.rs/chrono/latest/chrono/trait.Timelike.html#tymethod.nanosecond) while arrow-rs doesn't have. We could extend `arrow-rs` to support `nanosecond` and then get back to this issue. I think adding nanosecond support in `arrow-rs` is a `good start issue`. If you're interested in, I'm happy to help you to figure out the codes to modify. Basically, you could follow the `second`'s logic to do so https://github.com/apache/arrow-rs/blob/master/arrow/src/compute/kernels/temporal.rs#L723-L764 I could help to send a pr to arrow-rs as well -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
