This is an automated email from the ASF dual-hosted git repository.
ericpai pushed a commit to branch rel/1.0
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/1.0 by this push:
new ae3a5d2de4 [To rel/1.0][IOTDB-5417] Fix missing hasNext() before
next() in TagAggregationOperator (#8883)
ae3a5d2de4 is described below
commit ae3a5d2de432c5ba6dccab6a1ca1f1d6ad480048
Author: BaiJian <[email protected]>
AuthorDate: Mon Jan 16 16:52:24 2023 +0800
[To rel/1.0][IOTDB-5417] Fix missing hasNext() before next() in
TagAggregationOperator (#8883)
---
.../iotdb/db/mpp/execution/operator/process/TagAggregationOperator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/process/TagAggregationOperator.java
b/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/process/TagAggregationOperator.java
index cf18c26b74..4cf85411ec 100644
---
a/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/process/TagAggregationOperator.java
+++
b/server/src/main/java/org/apache/iotdb/db/mpp/execution/operator/process/TagAggregationOperator.java
@@ -122,7 +122,7 @@ public class TagAggregationOperator implements
ProcessOperator {
continue;
}
- if (!canCallNext[i]) {
+ if (!canCallNext[i] || !children.get(i).hasNext()) {
return false;
}