-
Notifications
You must be signed in to change notification settings - Fork 260
Scan Delete Support Part 4: Delete File Loading; Skeleton for Processing #982
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
base: main
Are you sure you want to change the base?
Conversation
edb1d27
to
8e90bdd
Compare
ec8e7c1
to
06f0df5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is nice, will look at the parsed records next.
5530bc3
to
e997fc6
Compare
@liurenjie1024, @Xuanwo, @Fokko - this is ready for re-review, if you could take a look that would be great! |
e997fc6
to
056e73f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sdd for this pr. There are some missing points in current design. Also I would suggest not putting too much in DeleteFilterManager
. I suppose DeleterFilterManager
acting more like a delete loader, which manages the io and caching of record batch. The actual filtering part, could delegate to DeleteFilter
, WDYT? I think a good reference implementation is java's DeleteFilter, see https://github.com/apache/iceberg/blob/af8e3f5a40f4f36bbe1d868146749e2341471586/data/src/main/java/org/apache/iceberg/data/DeleteFilter.java#L50
Thanks for the review @liurenjie1024 - much appreciated. Will come back with a revised design. |
bd33aa5
to
39a26ab
Compare
5739a46
to
52cf8b9
Compare
/// as per the other delete file types - only this time it is accompanied by a one-shot | ||
/// channel sender that we will eventually use to resolve the shared future that we stored | ||
/// in the state. | ||
/// * When this gets updated to add support for delete vectors, the load phase will return |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking forward to the puffin / deletion vector support!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Me too! 😁
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @sdd for this pr!
Let's wait for a moment to merge it after 0.5.0 release |
078bba7
to
fc696ef
Compare
20b44ab
to
acd7ab8
Compare
Hi @liurenjie1024 / @Xuanwo / @xxchan. This is now ready again for review after a refactor taking into account @xxchan's great feedback. I'll be on holiday for a week after today so it would be great if you guys could take a look. Thanks! |
…DeleteVector::intersect_assign pub(crate)
…our of it being always on
acd7ab8
to
b147098
Compare
Extends the
DeleteFileManager
introduced in #950 To include loading of delete files, storage and retrieval of parsed delete files from shared state, and the outline for how parsing will connect up to this new work.Issue: #630