Skip to content

Commit

Permalink
fix spell
Browse files Browse the repository at this point in the history
  • Loading branch information
yu34po committed Feb 25, 2019
1 parent 8cb76c3 commit 8144e5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/merge_sort.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (e *MergeSortExec) Next(ctx context.Context, req *chunk.RecordBatch) error
go e.wait4WorkerSort(wg, finishedCh)

for i := 0; i < e.concurrency; i++ {
// last worker must complete the rest of rows
// Last worker must complete the rest of rows.
if i == e.concurrency-1 {
workerRowsCount += e.rowChunks.Len() % e.concurrency
}
Expand Down

0 comments on commit 8144e5d

Please sign in to comment.