Closed
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
It would be nice if we can call let buffer: Buffer = bytes.into()
without incurring a copy, since object_store
returns bytes::Bytes
.
Describe the solution you'd like
I see that arrow_buffer::bytes::Bytes
already implements From<bytes::Bytes>
here
I guess we just need to add a implementation of From<bytes::Bytes> for Buffer
Describe alternatives you've considered
Additional context