[Fix] Correctly reset the gate status during ART merging#19204
Merged
Conversation
Collaborator
|
Thanks! |
github-actions Bot
pushed a commit
to duckdb/duckdb-r
that referenced
this pull request
Oct 2, 2025
[Fix] Correctly reset the gate status during ART merging (duckdb/duckdb#19204) Simple no default region return 301 response (duckdb/duckdb#19087) [chore] Attempt at restoring workflow for MinGW Static libs (duckdb/duckdb#19205) https://duckdb-blobs.s3.amazonaws.com -> https://blobs.duckdb.org (duckdb/duckdb#19206)
github-actions Bot
added a commit
to duckdb/duckdb-r
that referenced
this pull request
Oct 2, 2025
[Fix] Correctly reset the gate status during ART merging (duckdb/duckdb#19204) Simple no default region return 301 response (duckdb/duckdb#19087) [chore] Attempt at restoring workflow for MinGW Static libs (duckdb/duckdb#19205) https://duckdb-blobs.s3.amazonaws.com -> https://blobs.duckdb.org (duckdb/duckdb#19206) Co-authored-by: krlmlr <krlmlr@users.noreply.github.com>
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.
Fix #19190.
I really tried to generate the data to reproduce this... The bug happens for four row IDs, if they have the same value. Two each have to be inside a gate in different row groups, so that we create two ARTs in different sinks. The gate also has to start with a prefix that has the
GATE_SETstatus. However, I could not figure out what else is missing for theARTMergerto hit this code path...Here's my attempt:
See also my comment here on how we could maybe allow testing on the original files: https://github.com/duckdblabs/duckdb-internal/issues/6083