You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "progval (via GitHub)" <gi...@apache.org> on 2024/09/20 16:39:46 UTC

[I] Add a method to return the number of skipped rows in a `RowSelection` [arrow-rs]

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

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   
   `RowSelection` has a `row_count` method that returns the number of selected rows, but is missing a way to count the number of de-selected rows without iterating on the selectors
   
   **Describe the solution you'd like**
   
   Implement it as `RowSelection::skipped_row_count`
   
   **Describe alternatives you've considered**
   
   current state, which is that users have to reimplement it themselves
   
   **Additional context**
   
   Datafusion had to implement it here:
   
   https://github.com/apache/datafusion/blob/f2159e6cae658a0a3f561ec2d15ea948213fd0f8/datafusion/core/src/datasource/physical_plan/parquet/page_filter.rs#L271-L277
   


-- 
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] Add a method to return the number of skipped rows in a `RowSelection` [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed issue #6428: Add a method to return the number of skipped rows in a `RowSelection`
URL: https://github.com/apache/arrow-rs/issues/6428


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