Skip to content

feat(inspect): capture scan inputs and open snapshot tasks - #1120

Open
manuzhang wants to merge 1 commit into
apache:mainfrom
manuzhang:codex/metadata-scan-support-20261115
Open

manuzhang wants to merge 1 commit into
apache:mainfrom
manuzhang:codex/metadata-scan-support-20261115

Conversation

@manuzhang

@manuzhang manuzhang commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Snapshot-backed metadata scans must retain consistent inputs when their source table refreshes or their builder/reader is released. Capture metadata and FileIO once, derive the scan schema from that captured metadata, and return schema ownership by value.

Add a generic snapshot task holding the context and a row-reader function pointer. Task readers dispatch through that callback without depending on concrete metadata-table classes. Validate whole-column projections and resolve snapshot IDs, references, or timestamps when building the scan.

This PR now contains only scan ownership/schema capture, snapshot selection, and task dispatch. The lazy-row, partition-value, and live-file helpers are separate PRs: #1133, #1134, #1135. The unused table-scan fixture moved into the table PRs that consume it.

Builds directly on main with no prerequisite. Validation: 58 metadata tests and C++20 compatibility passed for this standalone slice; the combined helper foundation passed 73 static tests. Pre-commit and clang-tidy 22.1.8 passed. The full split composition passed 144 tests with one expected format-version skip. Shared-library build and C++20 linkage passed; the additional shared manifest IO checks reproduce an existing Avro encoding bad_cast also seen in unchanged manifest-writer tests.

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

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.

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/metadata-scan-support-20261115 branch from f11adff to 33c84fb 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.

@manuzhang manuzhang changed the title feat(inspect): add shared snapshot metadata scan support feat(inspect): capture scan inputs and open snapshot tasks Nov 15, 2026

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