Repository navigation
Conversation
|
Thanks for opening a pull request! This pull request has been automatically converted to a draft because its title doesn't match Arrow's required format. If this is not a minor PR, could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project. Then could you also rename the pull request title in the following format? or After updating the title, you can mark the pull request as ready for review. See also: |
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.
Rationale for this change
Draft reference snapshot — DO NOT REVIEW OR MERGE. Preserve a local exploration of Parquet compact-Thrift parsing for future investigation. This is not a complete feature implementation or a production-ready parser replacement.
The starting point was the Arrow Rust Parquet metadata article. Its reported up-to-9x results are motivation, not a reproduced C++ result.
What changes are included in this PR?
FastFileMetaDatasummary API that omits column metadata and schema-tree construction. Its timing is reported separately because it does less work.See
THRIFT_CUSTOM_PARSER.mdfor the design directions, reproducible commands, discarded experiment, uncompleted ideas and known gaps.On October 23, 2026, seven-sample medians for construction from an already resident footer were:
Generation/I/O and destruction are excluded from these construction measurements; destruction and statistics-policy results are reported separately in the document. Workload A is a supplemental local observation; public reproduction uses the synthetic generator. These are exploratory measurements, not a controlled attribution of each individual optimization or an end-to-end read benchmark.
Are these changes tested?
Rerun on October 23, 2026, against baseline
ca5564e007a209e251b9d4648af4bc6a53c68c4fplus this snapshot:make -j8passed.The configuration does not exercise every encryption/compression path. Passing these checks does not establish complete semantic compatibility. Equality, parser limits, ownership/thread-safety, policy forwarding, serialization/fallback behavior, Meson integration and portability remain incomplete or require further audit. PMR, resumable decoding, mmap/cache, SIMD and full metadata projection were discussed but were not established as completed A/B experiments.
Are there any user-facing changes?
Yes. In this experimental snapshot eligible plaintext footers use the direct path by default,
ReaderPropertieshas experimental policies, andFastFileMetaDataexposes summary-only access.PARQUET_USE_GENERATED_THRIFT=1selects the generated footer baseline for comparison. Existing entry points remain present, but this PR makes no production API/ABI or behavioral-compatibility claim.Was AI used for this PR?
AI generated the experimental implementation, benchmark driver, tests and documentation under human direction. AI assisted with scope/privacy checks and validation; this is not a completed human correctness review.
PR code and description written by:
Reviewed before submission by: