You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Michael A. Smith (Jira)" <ji...@apache.org> on 2022/07/02 21:08:00 UTC

[jira] [Commented] (AVRO-3504) New method "skip_data" for DataFileReader

    [ https://issues.apache.org/jira/browse/AVRO-3504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17561791#comment-17561791 ] 

Michael A. Smith commented on AVRO-3504:
----------------------------------------

[~izveigor] I noticed your PR was closed. Did you still want to pursue this idea?

> New method "skip_data" for DataFileReader
> -----------------------------------------
>
>                 Key: AVRO-3504
>                 URL: https://issues.apache.org/jira/browse/AVRO-3504
>             Project: Apache Avro
>          Issue Type: New Feature
>          Components: python
>            Reporter: Igor Izvekov
>            Priority: Minor
>              Labels: features, pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> DatumReader has method "skip_data" which skips data with the help of a decoder. I suggest applying this method for DataFileReader to skip a lot of useless data.
> New method "skip_data" for DataFileReader would accept the argument "number" which means number of datums that need skip.
> Test for new fixture was written in "test_datafile.py". The test removes 50 misses from coverage.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)