Skip to content

Core: Fix incorrect manifest list projection causing unnecessary manifest scanning during snapshot expiration#16077

Open
hemanthboyina wants to merge 1 commit intoapache:mainfrom
hemanthboyina:manifest_projection
Open

Core: Fix incorrect manifest list projection causing unnecessary manifest scanning during snapshot expiration#16077
hemanthboyina wants to merge 1 commit intoapache:mainfrom
hemanthboyina:manifest_projection

Conversation

@hemanthboyina
Copy link
Copy Markdown
Contributor

The MANIFEST_PROJECTION in FileCleanupStrategy uses the V1 field name deleted_data_files_count instead of the correct deleted_files_count. Schema.select() drops the unrecognized name, leaving deletedFilesCount as null for all projected manifests. Since hasDeletedFiles() returns true when null, every manifest gets unnecessarily scanned during expireSnapshots cleanup.

@github-actions github-actions Bot added the core label Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant