Invalid snapshot data when creating index over AO table.#257
Closed
InnerLife0 wants to merge 3 commits intoadb-6.xfrom
Closed
Invalid snapshot data when creating index over AO table.#257InnerLife0 wants to merge 3 commits intoadb-6.xfrom
InnerLife0 wants to merge 3 commits intoadb-6.xfrom
Conversation
added 2 commits
September 28, 2021 15:19
e0475a1 to
b9e6475
Compare
b9e6475 to
e6534dd
Compare
RekGRpth
pushed a commit
that referenced
this pull request
Feb 21, 2026
In the case when the join condition contains AND clauses, hash join performs redistribution request by every subexpression in the condition. The problem occurred when several of these subexpressions had the same right-hand side, making the matching logic inside CPhysicalHashJoin::PdshashedMatching select the same subexpression for every request, therefore losing possible redistributions. This patch adds a parameter to the function that specifies the index of the initial distribution request index. Subexpressions matching this index are now prioritized in the matching logic. Also, as a side-effect of the research went into the patch, several explanatory comments are added to make the code easier to understand. Ticket: GG-207 (cherry picked from commit ada9b90) Changes from original commit: - Test results were adjusted to account for differences between branches
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.
No description provided.