Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] add deletedFiles in NewFilesIncrement #3117

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

YannByron
Copy link
Contributor

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

@@ -305,7 +311,9 @@ public void close() throws Exception {

// delete temporary files
List<DataFileMeta> delete = new ArrayList<>(newFiles);
delete.addAll(deletedFiles);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need to delete delete files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, but we still need to clear deletedFiles, right ?

@JingsongLi
Copy link
Contributor

+1

@JingsongLi JingsongLi merged commit 3d6c5fc into apache:master Mar 29, 2024
9 checks passed
zhu3pang pushed a commit to zhu3pang/incubator-paimon that referenced this pull request Mar 29, 2024
@YannByron
Copy link
Contributor Author

#3057

@nonggialiang
Copy link

@YannByron @JingsongLi
Shall we increase the CommitMessageSerializer.CURRENT_VERSION and deserialize the objects according to the version for backward compactibility support ?

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.

3 participants