Skip to content

Core: Add the all_entries metadata table - #4481

Open
Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/1053-all-entries
Open

Anurag-S1ngh wants to merge 1 commit into
apache:mainfrom
Anurag-S1ngh:fix/1053-all-entries

Conversation

@Anurag-S1ngh

Copy link
Copy Markdown
Contributor

Rationale for this change

Adds the all_entries metadata table, one of the two tables still missing from #1053. It returns manifest entries across every snapshot and reads each unique manifest once, matching Java AllEntriesTable.

The entries schema and manifest row construction are now shared with entries(), so both tables return the same columns and readable metrics.

Part of #1053. POSITION_DELETES remains open.

Are these changes tested?

Yes. Added tests for entries from multiple snapshots, shared manifest deduplication, and the empty-table case.

  • pytest tests/table: 690 passed
  • ruff check and ruff format --check pass

Are there any user-facing changes?

Yes. New public API: Table.inspect.all_entries().

Read each unique manifest once across all snapshots, matching the Java AllEntriesTable behavior. Part of apache#1053.

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.

1 participant