Skip to content

Conversation

@aokolnychyi
Copy link
Contributor

This PR fixes the logic for checking whether manifests have new files to delete. Specifically, we should ignore files that were previously deleted.

@github-actions github-actions bot added the core label Nov 19, 2021
}

@Test
public void testAlreadyDeletedFilesAreIgnoredDuringDeletesByRowFilter() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test was failing before and represents a scenario I am talking about.


// delete the second data file using a row filter
// the commit should succeed as there is only one live data file
table.newDelete()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was failing as we were checking the already deleted file.

@aokolnychyi
Copy link
Contributor Author

@rdblue rdblue merged commit 4c98a0f into apache:master Nov 19, 2021
@rdblue
Copy link
Contributor

rdblue commented Nov 19, 2021

Good find!

Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Nov 23, 2021
Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Dec 15, 2021
Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Dec 17, 2021
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.

3 participants