Skip to content

Commit 2d3caea

Browse files
authored
grace_join: fix refactoring error (#6711)
1 parent 9324f59 commit 2d3caea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ydb/library/yql/minikql/comp_nodes/mkql_grace_join_imp.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,8 @@ void TTable::Join( TTable & t1, TTable & t2, EJoinKind joinKind, bool hasMoreLef
462462
if (*slotIt != hash)
463463
continue;
464464

465+
tuple2Idx = slotIt[slotSize - 1];
466+
465467
if (table1HasKeyIColumns || !(keysValSize - nullsSize1 <= slotSize - 1 - nullsSize2)) {
466468
// 2nd condition cannot be true unless HasKeyStringColumns or HasKeyIColumns, hence size at the end of header is present
467469

@@ -501,8 +503,6 @@ void TTable::Join( TTable & t1, TTable & t2, EJoinKind joinKind, bool hasMoreLef
501503
continue;
502504
}
503505

504-
tuple2Idx = slotIt[slotSize - 1];
505-
506506
tuplesFound++;
507507
JoinTuplesIds joinIds;
508508
joinIds.id1 = tuple1Idx;

0 commit comments

Comments
 (0)