vyasr opened a new issue, #587: URL: https://github.com/apache/arrow-nanoarrow/issues/587
This snippet is sufficient to raise an exception: ``` #include <nanoarrow/nanoarrow.hpp> #include <nanoarrow/nanoarrow.h> nanoarrow::UniqueArray arr; auto storage_type = NANOARROW_TYPE_DATE32; NANOARROW_THROW_NOT_OK(ArrowArrayInitFromType(arr.get(), storage_type)); ``` If `storage_type` is changed to any type other than DATE32 or DATE64 it works as expected. To test this against the latest nanoarrow, I inserted the above snippet into a function in one of the examples/ -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org