Parquet page checksum
A Parquet page checksum is an optional CRC32 value used to detect changes in the serialized page body, excluding its page header.
Scope: the CRC covers stored page bytes, excluding the header; it does not certify the footer or whole file. [1]
Controls: PyArrow 21.0 defaults both write_page_checksum and page_checksum_verification to false. Verification checks present CRCs but does not require every page to carry one. Selected-column reads do not validate every column. [2] [3] [4]
Selection metadata: page CRCs do not validate footer statistics. In a controlled PyArrow 21.0.0 fixture, narrowing a stored minimum excluded a matching row; a full checked scan recovered it, while a separate bounds audit found the invalid minimum. [7] [8]
Counting boundary: unfiltered counts and a projected scanner count returned 128 despite a CRC failure on full reading. Counting can use metadata and removes output projection; filters may need only selected columns. [9] [10] [11]
Streaming completion: full checked reading delivered 64 correct rows before failing on a third-group CRC in a separate fixture. Stopping after the first batch did not report that fault. Record intended columns, consumed rows and exhaustion, early stop or error. Batch size is not peak process memory. [12] [13]
Relations
- related
- Apache Parquet, Checksum, Backup verification, Zone map (min-max index), Parquet row group, Parquet column chunk
Citations
- Apache Parquet: page checksumming
- Apache Arrow 21.0: read_table checksum verification and column selection
- Apache Arrow 21.0: write_table page checksum option
- Apache Arrow 21.0.0: SerializedPageReader checksum presence guard
- Apache Arrow 21.0.0: row-group filtering from statistics expressions
- Hesela: controlled Parquet footer statistics and pruning observations
- Apache Arrow 21.0.0: metadata-only row counting and scan fallback
- Apache Arrow 21.0.0: CountRows removes the output projection
- Hesela: Parquet row-count coverage, 120 controlled observations
- Apache Arrow 21.0: ParquetFile streaming batches and checksum verification
- Hesela: 48 controlled Parquet streaming-completion observations