paleolimbot commented on issue #251: URL: https://github.com/apache/arrow-nanoarrow/issues/251#issuecomment-1611418380
Joris is right! You may have noticed that the `ArrowArrayView` only has a `storage_type` enum member: there's no place for extra schema information. As far as the `ArrowArrayView` is concerned, it's looking at an array of 64-bit integers and it's up to you to interpret the values using the `ArrowSchemaView::time_unit` and `ArrowSchemaView::timezone` members. None of that is set in stone if handling timestamps turns out to be awful, but that's the current intention. FWIW, the only place I've used timestamps explicitly is in the R package. There I don't do anything in C...I reinterpret the array as an int64 at the R level use R to do the unit math. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org