Enhance parquet reader with MMAP and with metadata_cache#13
Open
wolfgang-desalvador wants to merge 1 commit intomainfrom
Open
Enhance parquet reader with MMAP and with metadata_cache#13wolfgang-desalvador wants to merge 1 commit intomainfrom
wolfgang-desalvador wants to merge 1 commit intomainfrom
Conversation
This was referenced Apr 14, 2026
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds new configuration options to the
ParquetReaderindlio_benchmark/reader/parquet_reader.pyto improve performance and flexibility. The main changes introduce support for metadata caching and memory-mapped I/O, which can significantly speed up repeated file access and large file reads. The implementation includes new flags, updates to the YAML configuration, and logic to cache and reuse Parquet file metadata.Performance and configuration improvements:
metadata_cacheandmemory_mapoptions to the YAML configuration and class, allowing users to enable Parquet footer metadata caching and memory-mapped I/O for faster file access. [1] [2] [3]self._metadata_cache) inParquetReaderto store and reuse Parquet file metadata and cumulative row group offsets, reducing redundant reads whenmetadata_cacheis enabled. [1] [2]open()method to utilize the metadata cache and memory-mapped I/O, improving efficiency when opening files multiple times.Documentation updates: