Skip to content

feat(inspect): add manifests metadata table - #1121

Draft
manuzhang wants to merge 1 commit into
apache:mainfrom
manuzhang:codex/manifests-metadata-table-20261115
Draft

manuzhang wants to merge 1 commit into
apache:mainfrom
manuzhang:codex/manifests-metadata-table-20261115

Conversation

@manuzhang

@manuzhang manuzhang commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Depends on #1120 (scan contracts/tasks) and #1133 (lazy Arrow batching). Apply those prerequisites when building this draft; merge them first, then rebase this branch onto main. This table is independent of FilesTable and PartitionsTable.

Add ManifestsTable through Table::Inspect(MetadataTableKind::kManifests). Rows expose manifest paths, content, sizes, spec/snapshot IDs, nullable data/delete file counts, and readable partition summaries.

Scans retain metadata/projection/FileIO and support reordered or empty whole-column projections and configurable batches. Partition bounds recover dropped source-column types from retained schema history, including identity/truncate transforms and numeric promotion. Partition types are cached per spec within a scan.

The shared scan test fixture accompanies its real consumers; identical copies in the other table drafts disappear on rebase once the fixture lands.

Validation with the stated prerequisites applied: all 79 metadata tests and C++20 compatibility passed. Feature-specific code and factory were compiled and linked against the separately built helper foundation, without the partition-helper or live-file-helper tests. Pre-commit and clang-tidy 22.1.8 passed.

Copilot AI balanced review requested due to automatic review settings November 14, 2026 16:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@manuzhang
manuzhang force-pushed the codex/manifests-metadata-table-20261115 branch from 6fd948c to 9689cbf Compare November 15, 2026 15:26
Copilot AI balanced review requested due to automatic review settings November 15, 2026 15:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

Extract a focused piece from the metadata table implementation with its tests.

Co-authored-by: Codex <codex@openai.com>
@manuzhang
manuzhang force-pushed the codex/manifests-metadata-table-20261115 branch from 9689cbf to 0c8449b Compare November 15, 2026 15:29
Copilot AI balanced review requested due to automatic review settings November 15, 2026 15:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

This branch has not been deployed

No deployments
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.

2 participants