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

haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new d075f87  Bug fix: MAX_TIME is incorrect in cluster mode (#3826)
d075f87 is described below

commit d075f8783c1715131097c9aaa6d84a58d3b91329
Author: liuminghui233 <[email protected]>
AuthorDate: Wed Aug 25 10:16:06 2021 +0800

    Bug fix: MAX_TIME is incorrect in cluster mode (#3826)
    
    Co-authored-by: liuminghui233 <[email protected]>
---
 .../main/java/org/apache/iotdb/cluster/query/LocalQueryExecutor.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/cluster/src/main/java/org/apache/iotdb/cluster/query/LocalQueryExecutor.java 
b/cluster/src/main/java/org/apache/iotdb/cluster/query/LocalQueryExecutor.java
index 28da147..0175ef9 100644
--- 
a/cluster/src/main/java/org/apache/iotdb/cluster/query/LocalQueryExecutor.java
+++ 
b/cluster/src/main/java/org/apache/iotdb/cluster/query/LocalQueryExecutor.java
@@ -733,7 +733,7 @@ public class LocalQueryExecutor {
     ClusterQueryUtils.checkPathExistence(path);
     List<AggregateResult> results = new ArrayList<>();
     for (String aggregation : aggregations) {
-      results.add(AggregateResultFactory.getAggrResultByName(aggregation, 
dataType));
+      results.add(AggregateResultFactory.getAggrResultByName(aggregation, 
dataType, ascending));
     }
     List<Integer> nodeSlots =
         ((SlotPartitionTable) 
dataGroupMember.getMetaGroupMember().getPartitionTable())

Reply via email to