paleolimbot commented on issue #587: URL: https://github.com/apache/arrow-nanoarrow/issues/587#issuecomment-2291879084
I believe this happens because `NANOARROW_TYPE_DATE32` not a storage type in nanoarrow land (the storage here would be NANOARROW_TYPE_INT32, I believe), and `ArrowArrayInitFromType()` currently just works based on the storage type. That said, it would be way less confusing if this just worked and we can totally update that. I think the rationale at the time was that storage_type != type was an easy way to catch things like EXTENSION and DICTIONARY where we really do need to force the use of `ArrowArrayInitFromSchema()`. -- 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