Describe the enhancement requested
This allows the caller to reuse the SeekableInputStream but avoid leaking other resources held by ParquetFileReader, for example, in Spark Parquet vectorized reading code path, it opens two times for each Parquet file:
- the first time opens and reads the footer, do some pruning and push down stuff.
- the second time opens and reads the row groups
Component(s)
No response