#51673·arrow

[C++][Parquet] Error when printing file metadata

Author: pitrouCreated Oct 1, 2026Updated Oct 1, 2026
LabelsType: bugComponent: ParquetComponent: C++

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

If you download prices.parquet from https://www.data.gouv.fr/datasets/open-prices and then give it to parquet-reader --only-metadata, you get the following error:

[...]
Column 29
  Values: 1024, Null Values: 1024, Distinct Values: 0
  Max (exact: unknown): Parquet error: Failed to parse decimal value: Length of byte array passed to Decimal256::FromBigEndian was 0, but must be between 1 and 32

Ironically, the file was generated using Arrow C++:

File Name: ./prices.parquet
Version: 2.6
Created By: parquet-cpp-arrow version 18.0.0-SNAPSHOT

Component(s)

C++, Parquet