This is an automated email from the ASF dual-hosted git repository.

hui pushed a commit to branch lmh/nullSum
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 5cd16ef93574e2514936f327825ddc175efe7390
Author: Minghui Liu <[email protected]>
AuthorDate: Mon Jul 4 14:16:36 2022 +0800

    make sum null value
---
 .../java/org/apache/iotdb/db/query/aggregation/impl/SumAggrResult.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/server/src/main/java/org/apache/iotdb/db/query/aggregation/impl/SumAggrResult.java
 
b/server/src/main/java/org/apache/iotdb/db/query/aggregation/impl/SumAggrResult.java
index 4523e6ce92..543c75b84d 100644
--- 
a/server/src/main/java/org/apache/iotdb/db/query/aggregation/impl/SumAggrResult.java
+++ 
b/server/src/main/java/org/apache/iotdb/db/query/aggregation/impl/SumAggrResult.java
@@ -42,7 +42,6 @@ public class SumAggrResult extends AggregateResult {
     super(TSDataType.DOUBLE, AggregationType.SUM);
     this.seriesDataType = seriesDataType;
     reset();
-    setDoubleValue(0.0);
   }
 
   @Override

Reply via email to