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

Ryan Blue commented on PARQUET-623:
-----------------------------------

We should change `skip` to call `readBytes` and discard the result if there 
isn't a better fix. Thanks for reporting this, [~oae]!

> DeltaByteArrayReader has incorrect skip behaviour
> -------------------------------------------------
>
>                 Key: PARQUET-623
>                 URL: https://issues.apache.org/jira/browse/PARQUET-623
>             Project: Parquet
>          Issue Type: Bug
>    Affects Versions: 1.8.1
>            Reporter: Johannes Zillmann
>
> When reading delta encoded columns (v2 API) and skipping values the read 
> fails (with differing exceptions). This is because the reader needs the last 
> value but the skip logic is not managing this.
> A modified DeltaByteArrayReader which calls readBytes() on skip() does fix 
> the reading. Not sure if there is a more efficient solution possible then 
> simply invoking readBytes().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to