Skip to content

Core,Api: Deprecate appendManifest#10396

Closed
Fokko wants to merge 1 commit intoapache:mainfrom
Fokko:fd-remove-append-manifest
Closed

Core,Api: Deprecate appendManifest#10396
Fokko wants to merge 1 commit intoapache:mainfrom
Fokko:fd-remove-append-manifest

Conversation

@Fokko
Copy link
Contributor

@Fokko Fokko commented May 29, 2024

Adding manifests produces invalid summaries and I don't think that's a good practice. This PR deprecates the method (which simplifies MergingSnapshotProducer).

The method is mostly used in tests and when importing a table in Spark. If we agree to remove this, we can see how we can scale out the writing of the manifests.

@Fokko
Copy link
Contributor Author

Fokko commented Jun 25, 2024

I changed my mind here; I don't think we want to deprecate this. The problem is when you add/drop a whole manifest, the snapshot summary becomes corrupt. You don't know how many files are dropped/added when you drop the file manifest. I think it would make more sense to keep track of this at the manifest-list level, so we can drop the manifest without having to open it and go through it.

@Fokko Fokko closed this Jun 25, 2024
@Fokko Fokko deleted the fd-remove-append-manifest branch June 25, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant