zeroshade commented on issue #39753:
URL: https://github.com/apache/arrow/issues/39753#issuecomment-1908608726
The only way for it to be zero-copy is if the underlying physical type
matches the numpy representation. A struct of `{real: float32, imag: float32}`
wouldn't be represented identically (it would be two separate buffers of
float32s). A `fixedList` of floats makes sense and would provide the ability
for zero-copy though. So that could work.
Personally, I think that representing as an extension type with
fixed-size-list would be easier and better than creating entirely new primitive
types. But that's just my thought, anyone else wanna chime in here?
--
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]