Skip to content

Conversation

@alexjo2144
Copy link
Contributor

Limits the constructor arguments for DeleteFilters to just the parts of the FileScanTask actually used. This came up as a part of the Trino work to support merge-on-read tables and reusing DeleteFilter there.

@alexjo2144
Copy link
Contributor Author

Mind taking a look? @rdblue @danielcweeks @findepi


private final long setFilterThreshold;
private final DataFile dataFile;
private final CharSequence filePath;
Copy link
Member

Choose a reason for hiding this comment

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

CharSequence doesn't guarantee immutabilty. Let's make it a String.

@alexjo2144 alexjo2144 force-pushed the delete-filter-constructor branch from a137c1e to d448b45 Compare March 24, 2022 15:45
@danielcweeks danielcweeks self-requested a review March 24, 2022 16:45
Copy link
Contributor

@danielcweeks danielcweeks left a comment

Choose a reason for hiding this comment

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

LGTM

@danielcweeks danielcweeks merged commit 0f6398f into apache:master Mar 24, 2022
@alexjo2144 alexjo2144 deleted the delete-filter-constructor branch March 24, 2022 16:51
hililiwei pushed a commit to hililiwei/iceberg that referenced this pull request Jun 29, 2022
Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Jul 18, 2022
Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Jul 18, 2022
Initial-neko pushed a commit to Initial-neko/iceberg that referenced this pull request Jul 20, 2022
hililiwei added a commit to hililiwei/iceberg that referenced this pull request Aug 9, 2022
hililiwei added a commit to hililiwei/iceberg that referenced this pull request Aug 9, 2022
hililiwei added a commit to hililiwei/iceberg that referenced this pull request Aug 9, 2022
hililiwei added a commit to hililiwei/iceberg that referenced this pull request Aug 9, 2022
hililiwei added a commit to hililiwei/iceberg that referenced this pull request Aug 9, 2022
hililiwei added a commit to hililiwei/iceberg that referenced this pull request Aug 10, 2022
hililiwei added a commit to hililiwei/iceberg that referenced this pull request Aug 11, 2022
@Zhangg7723
Copy link

I want to filter eq delete rows loaded in delete set by lower-upper bounds in data file, so can I replace filePath to dataFile as parameter in the construction?
DeleteFilter interface is defined in Trino, I think DeleteFilter in Iceberg is never used in Trino, right? @findepi
@danielcweeks

@findepi
Copy link
Member

findepi commented Nov 4, 2022

DeleteFilter interface is defined in Trino, I think DeleteFilter in Iceberg is never used in Trino, right? @findepi

I guess you mean these changes trinodb/trino#13219
David would be the best person to answer questions.
For Trino Iceberg specifics let's maybe talk on #iceberg channel on Trino slack

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.

4 participants