Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
Signed-off-by: xufei <[email protected]>
  • Loading branch information
windtalker committed Jun 20, 2024
1 parent 8c9dc9c commit 3eac8d5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/executor/join/hash_join_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ func (htc *hashTableContext) getCurrentRowSegment(workerID, partitionID int, tab

func (htc *hashTableContext) finalizeCurrentSeg(workerID, partitionID int, builder *rowTableBuilder) {
seg := htc.getCurrentRowSegment(workerID, partitionID, nil, false)
for _, pos := range builder.startPosInRawData[partitionID] {
seg.rowStartOffset = append(seg.rowStartOffset, pos)
}
seg.rowStartOffset = append(seg.rowStartOffset, builder.startPosInRawData[partitionID]...)
builder.crrntSizeOfRowTable[partitionID] = 0
builder.startPosInRawData[partitionID] = builder.startPosInRawData[partitionID][:0]
failpoint.Inject("finalizeCurrentSegPanic", nil)
Expand Down

0 comments on commit 3eac8d5

Please sign in to comment.