Skip to content

Commit 91706ec

Browse files
authored
executor: modify the spill chunk size of topn (#58889)
ref #58891
1 parent d0cccca commit 91706ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/executor/sortexec/topn.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ func (e *TopNExec) Open(ctx context.Context) error {
109109
e.resultChannel,
110110
e.memTracker,
111111
e.diskTracker,
112-
exec.RetTypes(e),
112+
exec.RetTypes(e.Children(0)),
113113
workers,
114114
e.Concurrency,
115115
&e.Ctx().GetSessionVars().SQLKiller,

0 commit comments

Comments
 (0)