Skip to content

[Parquet][C++] Reading parquet with an empty list of row group indices fails #45339

Closed

Description

@romankarlstetter

Describe the bug, including details regarding any error messages, version, and platform.

The pull request #43945 changes TransferColumnData() to require a parquet::ColumnChunkMetaData parameter. LeafReader::LoadBatch calls input_->column_chunk_metadata(), but this fails if the list of row group indices is empty.

See https://github.com/apache/arrow/pull/43945/files/dcd3bdfd1ae313733c670567cd692016cb5523a9#r1926722505

This affects releases >=v18.0.0, arrow until 17.x works as expected.

Component(s)

C++, Parquet

Activity

  1. added this to the 19.0.1 milestone on Jan 24, 2025
  2. kou commented on Jan 24, 2025

    @kou
    Member

    FYI: @amoeba 19.0.1 should include a fix for this.

  3. added a commit that references this issue on Jan 25, 2025
  4. added a commit that references this issue on Jan 30, 2025
  5. kou commented on Jan 30, 2025

    @kou
    Member

    Issue resolved by pull request 45350
    #45350

  6. added 2 commits that reference this issue on Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions