Skip to content

DeltaByteArrayReader has incorrect skip behaviour #1968

@asfimport

Description

@asfimport

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().

Reporter: Johannes Zillmann
Assignee: Ryan Blue / @rdblue

Related issues:

PRs and other links:

Note: This issue was originally created as PARQUET-623. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions