Skip to content

Commit b929aa2

Browse files
authored
Fix incorrect time slice calculation in AbstractDefaultAggTableScanOperator (#17195)
1 parent d5f9023 commit b929aa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/relational/AbstractDefaultAggTableScanOperator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public TsBlock next() throws Exception {
6969

7070
// start stopwatch, reset leftRuntimeOfOneNextCall
7171
long start = System.nanoTime();
72-
leftRuntimeOfOneNextCall = 1000 * operatorContext.getMaxRunTime().roundTo(TimeUnit.NANOSECONDS);
72+
leftRuntimeOfOneNextCall = operatorContext.getMaxRunTime().roundTo(TimeUnit.NANOSECONDS);
7373
long maxRuntime = leftRuntimeOfOneNextCall;
7474

7575
while (System.nanoTime() - start < maxRuntime

0 commit comments

Comments
 (0)