Skip to content

Invalid snapshot data when creating index over AO table.#257

Closed
InnerLife0 wants to merge 3 commits intoadb-6.xfrom
ADBDEV-2089
Closed

Invalid snapshot data when creating index over AO table.#257
InnerLife0 wants to merge 3 commits intoadb-6.xfrom
ADBDEV-2089

Conversation

@InnerLife0
Copy link

No description provided.

@InnerLife0 InnerLife0 closed this Sep 30, 2021
@InnerLife0 InnerLife0 deleted the ADBDEV-2089 branch September 30, 2021 12:34
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant