-
Notifications
You must be signed in to change notification settings - Fork 3k
Core: Make DeleteFilter's constructor parameters more specific #4381
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: Make DeleteFilter's constructor parameters more specific #4381
Conversation
|
Mind taking a look? @rdblue @danielcweeks @findepi |
|
|
||
| private final long setFilterThreshold; | ||
| private final DataFile dataFile; | ||
| private final CharSequence filePath; |
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.
CharSequence doesn't guarantee immutabilty. Let's make it a String.
a137c1e to
d448b45
Compare
danielcweeks
left a comment
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.
LGTM
…ific (apache#4381) Reference:(cherry picked from commit 0f6398f)
|
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? |
I guess you mean these changes trinodb/trino#13219 |
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.