ParquetMetaDataReader currently uses ParquetError::IndexOutOfBound to indicate the need for more data. This is not the intended use for IndexOutOfBound.
What changes are included in this PR?
Adds a new enum value NeedMoreData.
Are there any user-facing changes?
Yes, this changes the ParquetError API as well as ParquetMetaDataReader.
Which issue does this PR close?
Part of #6447.
Rationale for this change
ParquetMetaDataReader
currently usesParquetError::IndexOutOfBound
to indicate the need for more data. This is not the intended use forIndexOutOfBound
.What changes are included in this PR?
Adds a new enum value
NeedMoreData
.Are there any user-facing changes?
Yes, this changes the
ParquetError
API as well asParquetMetaDataReader
.