Skip to content

Commit

Permalink
fix: Fix a null bit set in left index lookup join
Browse files Browse the repository at this point in the history
Summary:
Fix null bit setting in left index lookup join as the bits fill take [start, end) but not {start, length}.
Found in Meta internal tests.

Differential Revision: D68941198
  • Loading branch information
xiaoxmeng authored and facebook-github-bot committed Jan 31, 2025
1 parent 6fc81cf commit b796182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/exec/IndexLookupJoin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ RowVectorPtr IndexLookupJoin::produceOutputForLeftJoin() {
bits::fillBits(
rawLookupOutputNulls_,
numOutputRows,
numOutputMissedInputRows,
nnumOutputRows + numOutputMissedInputRows,
bits::kNull);
for (auto i = 0; i < numOutputMissedInputRows; ++i) {
rawProbeOutputRowIndices_[numOutputRows++] = ++lastProcessedInputRow;
Expand Down

0 comments on commit b796182

Please sign in to comment.