Skip to content

Include DELETE entries when inspecting #1731

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

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

Fokko
Copy link
Contributor

@Fokko Fokko commented Feb 27, 2025

While doing some checks, I've noticed that these are missing.

While doing some checks, I've noticed that these are missing.
Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

There are 2 more instances of .fetch_manifest_entry call.
One in partitions, another in _files

I think we should make the same change to the _files, not so sure about partitions

@Fokko
Copy link
Contributor Author

Fokko commented Feb 27, 2025

I think we should make the same change to the _files, not so sure about partitions

That's funny, was thinking the other way around. For _files it lists all the files of the table, but I don't think that it makes sense to include files that are deleted (and will never be part of a scan plan). WDYT?

@kevinjqliu
Copy link
Contributor

oops youre right. definitely not needed in _files. For partitions, looks like we dont need the deleted files either.
nit: perhaps we can make it explicit by setting discard_deleted=True even though thats the default.

Copy link
Contributor

@kevinjqliu kevinjqliu left a comment

Choose a reason for hiding this comment

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

LGTM

@Fokko Fokko merged commit a403c65 into apache:main Mar 18, 2025
7 checks passed
@Fokko Fokko added this to the PyIceberg 0.9.1 milestone Apr 20, 2025
@Fokko Fokko deleted the fd-include-DELETE-entries branch April 20, 2025 18:37
Fokko added a commit that referenced this pull request Apr 25, 2025
While doing some checks, I've noticed that these are missing.
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.

2 participants