tustvold commented on issue #35052: URL: https://github.com/apache/arrow/issues/35052#issuecomment-1505739365
For Rust we don't define booleans as primitives because it is a separate array type, `BooleanArray` vs `PrimitiveArray<T>`. This arises because there is a non-trivial behaviour and API difference between arrays of aligned scalars, and bit packed bools, with the former having native language support, e.g. `[i8]`, `[u32]`, support transparent zero-copy slicing, etc... I suspect there may be differing definitions of what constitutes a primitive type, is it being a native scalar value (which is what Rust uses), or does it reflect the buffer layout -- 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]
