Skip to content

Commit

Permalink
executor: fix unstable unit test TestMergeJoinInDisk (#54524)
Browse files Browse the repository at this point in the history
close #54006
  • Loading branch information
xzhangxian1008 authored Jul 9, 2024
1 parent 887637b commit d5cba7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/executor/sortexec/sort.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ func (e *SortExec) generateResultWithMultiWayMerge() error {
func (e *SortExec) generateResultFromDisk() error {
inDiskNum := len(e.Parallel.spillHelper.sortedRowsInDisk)
if inDiskNum == 0 {
panic("inDiskNum can't be 0 when we generate result with spill triggered")
return nil
}

// Spill is triggered only once
Expand Down

0 comments on commit d5cba7e

Please sign in to comment.