Skip to content

Commit

Permalink
grace_join: fix refactoring error (#6711)
Browse files Browse the repository at this point in the history
  • Loading branch information
yumkam authored Jul 16, 2024
1 parent 9324f59 commit 2d3caea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,8 @@ void TTable::Join( TTable & t1, TTable & t2, EJoinKind joinKind, bool hasMoreLef
if (*slotIt != hash)
continue;

tuple2Idx = slotIt[slotSize - 1];

if (table1HasKeyIColumns || !(keysValSize - nullsSize1 <= slotSize - 1 - nullsSize2)) {
// 2nd condition cannot be true unless HasKeyStringColumns or HasKeyIColumns, hence size at the end of header is present

Expand Down Expand Up @@ -501,8 +503,6 @@ void TTable::Join( TTable & t1, TTable & t2, EJoinKind joinKind, bool hasMoreLef
continue;
}

tuple2Idx = slotIt[slotSize - 1];

tuplesFound++;
JoinTuplesIds joinIds;
joinIds.id1 = tuple1Idx;
Expand Down

0 comments on commit 2d3caea

Please sign in to comment.