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 2021/12/10 13:58:44 UTC

[GitHub] [arrow-rs] tustvold opened a new issue #1020: Record Reader Incomplete State

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


   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   
   Whilst working on #171 I found the logic in parquet::arrow::RecordReader very difficult to follow. This mainly stems from the fact it has a state where it is part way through "consuming" a record, and state is mutated in multiple places.
   
   **Describe the solution you'd like**
   
   It is possible to simplify the logic, at the cost of potentially scanning repetition levels multiple times. In practice this is already done as consequence of calling `RecordReader::reset`. This combined with the overheads of splitting the buffers makes me suspect the performance difference will be negligible.
   
   **Describe alternatives you've considered**
   
   The existing logic is not wrong, and so could remain unchanged.
   


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



[GitHub] [arrow-rs] sunchao closed issue #1020: Record Reader Incomplete State

Posted by GitBox <gi...@apache.org>.
sunchao closed issue #1020:
URL: https://github.com/apache/arrow-rs/issues/1020


   


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