Repository navigation
Fix s3queue deduplication - #95467
Merged
Merged
Conversation
kssenii
commented
Jan 28, 2026
Contributor
kssenii
marked this pull request as ready for review
January 30, 2026 14:29
CheSema
approved these changes
Feb 2, 2026
CheSema
left a comment
Member
There was a problem hiding this comment.
All is good.
But I see that some s3 queue tests has failed, it is better check them
kssenii
force-pushed
the
s3queue-deduplication
branch
from
February 2, 2026 18:51
8558815 to
09c4a83
Compare
kssenii
force-pushed
the
s3queue-deduplication
branch
from
February 4, 2026 15:15
c664763 to
7b83f1b
Compare
CheSema
reviewed
Feb 5, 2026
| /// Create unique token per chunk: etag + row offset | ||
| dedup_token = fmt::format("{}:{}", etag, row_offset); | ||
|
|
||
| auto deduplication_info = DeduplicationInfo::create(/*async_insert*/true); |
Member
There was a problem hiding this comment.
It is the most unclear line.
Lets add a comment here.
Something like that:
when is_deduplication_v2 is true, all the source chunks are marked with DeduplicationInfo. Each chunk could have several pieces from different source files with unique deduplication token. In order to utilize deduplication with multiple tokens we set up insert pipeline as async_insert
CheSema
reviewed
Feb 5, 2026
| /*no_destination=*/ true, | ||
| /*async_insert_=*/ false); | ||
| /*async_insert*/ is_deduplication_v2); |
Member
There was a problem hiding this comment.
This is also unclear line.
actually this wont have significant influence. But it is better to have it the same as first line.
CheSema
approved these changes
Feb 5, 2026
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Fix deduplication for streaming from S3(Azure)Queue engine.
Documentation entry for user-facing changes
Version info
26.2.1.837