Skip to content

feat(manifest): add ManifestFilterManager and ManifestMergeManager#652

Open
gty404 wants to merge 1 commit into
apache:mainfrom
gty404:manifest-manager
Open

feat(manifest): add ManifestFilterManager and ManifestMergeManager#652
gty404 wants to merge 1 commit into
apache:mainfrom
gty404:manifest-manager

Conversation

@gty404
Copy link
Copy Markdown
Contributor

@gty404 gty404 commented May 12, 2026

Implement two manifest management classes for table write operations:

  • ManifestFilterManager: filters manifest entries by row filter expression, file path, or partition value; supports FailMissingDeletePaths validation. Rewrites manifests that contain matching files, marking entries as DELETED; passes through manifests that cannot contain matching files unchanged.

  • ManifestMergeManager: merges small manifests using greedy bin-packing, grouping by partition_spec_id (manifests with different specs are never merged). Oversized manifests pass through unchanged. ADDED entries from prior manifests become EXISTING when merged (matching Java semantics).

Implement two manifest management classes for table write operations:

- ManifestFilterManager: filters manifest entries by row filter expression,
  file path, or partition value; supports FailMissingDeletePaths validation.
  Rewrites manifests that contain matching files, marking entries as DELETED;
  passes through manifests that cannot contain matching files unchanged.

- ManifestMergeManager: merges small manifests using greedy bin-packing,
  grouping by partition_spec_id (manifests with different specs are never
  merged). Oversized manifests pass through unchanged. ADDED entries from
  prior manifests become EXISTING when merged (matching Java semantics).
@gty404 gty404 force-pushed the manifest-manager branch from 4a08049 to f360476 Compare May 12, 2026 09:53
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