mirror of
https://github.com/actiontech/dble.git
synced 2026-05-12 17:39:21 -05:00
inner-1239:avoid thread remaining for group by (#2767)
This commit is contained in:
+2
@@ -117,6 +117,8 @@ public class DirectGroupByHandler extends OwnThreadDMLHandler {
|
||||
localResultReferredSums, this.isAllPushDown(), charSet).
|
||||
setMemSizeController(session.getOtherBufferMC());
|
||||
for (int i = 0; i < bucketSize; i++) {
|
||||
if (terminate.get())
|
||||
break;
|
||||
RowDataComparator tmpComparator = new RowDataComparator(this.localResultFps, this.groupBys,
|
||||
this.isAllPushDown(), this.type());
|
||||
GroupByBucket bucket = new GroupByBucket(queue, outQueue, pool, localResultFps.size(), tmpComparator,
|
||||
|
||||
Reference in New Issue
Block a user