You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/08/19 15:39:24 UTC

[GitHub] [arrow-rs] tustvold opened a new issue, #2530: Reduce Copying of RowGroupMetaData and FileMetaData

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

   **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*)
   -->
   
   `SerializedFileReader` and friends currently perform a lot of copying of `RowGroupMetadata` and `FileMetadata`, whilst reading indexes and filtering row groups. Neither of these are small or particularly cheap to clone.
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   
   I would like to reduce the amount of unnecessary work being performed, either by altering the interfaces so data can be moved instead of cloned, or using Arc 
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request 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: github-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] Reduce Copying of RowGroupMetaData and FileMetaData [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #2530:
URL: https://github.com/apache/arrow-rs/issues/2530#issuecomment-2308782833

   These structures are now Arc'd when I have run across them in the code. I am not sure if this is an issue anymore


-- 
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


Re: [I] Reduce Copying of RowGroupMetaData and FileMetaData [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold commented on issue #2530:
URL: https://github.com/apache/arrow-rs/issues/2530#issuecomment-2310488048

   One example, but I suspect there are others
   
   https://github.com/apache/arrow-rs/blob/master/parquet/src/file/serialized_reader.rs#L197
   


-- 
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