tustvold commented on PR #5176:
URL: https://github.com/apache/arrow-rs/pull/5176#issuecomment-1843230646

   
https://github.com/apache/arrow/blob/92723f34f8df40b35e5840e61011c00766808014/format/Schema.fbs
 is the canonical list of types within the arrow data model.
   
   > For example, consider a custom UUID extension type. It could be stored in 
a fixed-size list layout (as suggested in the docs), but it's also valid to 
store it in a fixed-size primitive layout (using u128s).
   
   It could also be stored as a `uuid::UUID` which happens to transmute safely 
to `[u8; 16]`, does this mean we should derive ArrowNativeType for `UUID`? I 
appreciate this a strawman, but the purpose of `ArrowNativeType` is to provide 
the types necessary to implement the arrow data model. It is not intended to be 
some general purpose byte transmutation tool, a la something like bytemuck.


-- 
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]

Reply via email to