Skip to content

PoC use ParquetMetaDataPushDecoder for parquet metadata reading#20857

Draft
Dandandan wants to merge 1 commit intoapache:mainfrom
Dandandan:use-parquet-metadata-push-decoder
Draft

PoC use ParquetMetaDataPushDecoder for parquet metadata reading#20857
Dandandan wants to merge 1 commit intoapache:mainfrom
Dandandan:use-parquet-metadata-push-decoder

Conversation

@Dandandan
Copy link
Contributor

@Dandandan Dandandan commented Mar 10, 2026

Replace pull-based ParquetMetaDataReader with push-based ParquetMetaDataPushDecoder, which decouples IO from decoding and uses ObjectStore::get_ranges directly instead of the MetadataFetch trait.

Note: depends on apache/arrow-rs#9532 as encryption flag can not be set from here.

Which issue does this PR close?

  • Closes #.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Replace pull-based ParquetMetaDataReader with push-based
ParquetMetaDataPushDecoder, which decouples IO from decoding and
uses ObjectStore::get_ranges directly instead of the MetadataFetch trait.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
let prefetch_range = prefetch_start..file_size;
let data = self
.store
.get_ranges(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This and next requests can go on a queue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant