You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tustvold (via GitHub)" <gi...@apache.org> on 2024/03/14 22:45:49 UTC

[I] Non-Contiguous Write Payloads [arrow-rs]

tustvold opened a new issue, #5514:
URL: https://github.com/apache/arrow-rs/issues/5514

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for this feature, in addition to  the *what*)
   -->
   
   Currently `ObjectStore::put` accepts a `Bytes` object, which is a contiguous memory region. This is simple and efficient where payload sizes are known ahead of time, and buffers can therefore be sized appropriately up-front, however, it may force additional copies in situations where this is not known.
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   I am not sure, the HTTP-based stores are fairly coupled to HTTP requests containing a `Bytes` body, and whilst `reqwest` does have the ability to wrap a byte stream, this would break retries, AWS content signing and possibly some other things.
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features you've considered.
   -->
   
   With #5500 it becomes possible to do chunked writes with no additional copies, this potentially reduces the need for this functionality as users can just allocate data in 5 MiB chunks.
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   
   https://github.com/apache/arrow-rs/pull/5500 adds a put_part API with a similar requirement
   
   


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [ObjectStore] Non-Contiguous Write Payloads [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #5514: [ObjectStore] Non-Contiguous Write Payloads
URL: https://github.com/apache/arrow-rs/issues/5514


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org