apache/flink · error · IOException
Could not read page in col %s.
Error message
Could not read page in col %s.
What it means
Error "Could not read page in col %s." thrown in apache/flink.
Source
Thrown at flink-formats/flink-parquet/src/main/java/org/apache/flink/formats/parquet/vector/reader/NestedPrimitiveColumnReader.java:523
ParquetDataColumnReaderFactory.getDataColumnReaderByType(
type.asPrimitiveType(),
dataEncoding.getDictionaryBasedValuesReader(
descriptor, VALUES, dictionary.getDictionary()),
isUtcTimestamp);
this.isCurrentPageDictionaryEncoded = true;
} else {
dataColumn =
ParquetDataColumnReaderFactory.getDataColumnReaderByType(
type.asPrimitiveType(),
dataEncoding.getValuesReader(descriptor, VALUES),
isUtcTimestamp);
this.isCurrentPageDictionaryEncoded = false;
}
try {
dataColumn.initFromPage(pageValueCount, in);
} catch (IOException e) {
throw new IOException(String.format("Could not read page in col %s.", descriptor), e);
}
}
private void readPageV1(DataPageV1 page) {
ValuesReader rlReader = page.getRlEncoding().getValuesReader(descriptor, REPETITION_LEVEL);
ValuesReader dlReader = page.getDlEncoding().getValuesReader(descriptor, DEFINITION_LEVEL);
this.repetitionLevelColumn = new ValuesReaderIntIterator(rlReader);
this.definitionLevelColumn = new ValuesReaderIntIterator(dlReader);
try {
BytesInput bytes = page.getBytes();
LOG.debug("Page size {} bytes and {} records.", bytes.size(), pageValueCount);
ByteBufferInputStream in = bytes.toInputStream();
LOG.debug("Reading repetition levels at {}.", in.position());
rlReader.initFromPage(pageValueCount, in);
LOG.debug("Reading definition levels at {}.", in.position());
dlReader.initFromPage(pageValueCount, in);
LOG.debug("Reading data at {}.", in.position());
initDataReader(page.getValueEncoding(), in, page.getValueCount());View on GitHub (pinned to 2f3c205e92)
Solutions
- Address the cause reported by the error message: Could not read page in col the reported value.
- Verify the inputs, configuration values, and classpath/dependency setup related to this operation, then retry.
Example fix
Correct the condition described ("Could not read page in col the reported value.") and rerun the job or command. When it happens
Trigger: Triggered at runtime when the operation fails because: Could not read page in col the reported value.
Common situations: Commonly caused by misconfiguration, missing dependencies or files, unsupported types or operations, or invalid user input leading to: Could not read page in col the reported value.
AI-assisted analysis of apache/flink@2f3c205e92 (2026-08-14).
Data as JSON: /api/errors/07de44f1e32959a3.
Report an issue: GitHub.