Skip to content

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

@romankarlstetter

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions