RinChanNOWWW commented on issue #5508: URL: https://github.com/apache/arrow-rs/issues/5508#issuecomment-2087927159
I want to discuss about casting from ViewArray to ByteArray. As we know, we can use ViewArray for random access of byte buffers. So, when converting ViewArray to ByteArray, memory copy is unavoidable. I can't come up with a zero-copy way. If I implement this operation, I will allocate brand new buffers for the target ByteArray. I want to discuss if there is a better way? -- 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]
