-
Notifications
You must be signed in to change notification settings - Fork 1k
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] Incremental-between tags should deduplicate records #3338
Conversation
split.dataFiles(), | ||
split.deletionFiles().orElse(null), | ||
true)); | ||
if (split.isStreaming() || split.convertToRawFiles().isPresent()) { |
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.
split.rawConvertible()?
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.
maybe we can write like this:
if (split.rawConvertible()) {
return createNoMergeReader(
split.partition(),
split.bucket(),
split.dataFiles(),
split.deletionFiles().orElse(null),
false);
} else {
return createMergeReader(
split.partition(), split.bucket(), split.dataFiles(), null, forceKeepDelete);
}
If split.isStreaming() then split.rawConvertible() must be true. If rawConvertible, then no need to merge, we can filter the whole value.
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.
We can ignore rawConvertible
, it will use RawFileSplitRead
.
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.
+1
Purpose
Linked issue: close #3310
Tests
API and Format
Documentation