This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch rel/0.12
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.12 by this push:
new db94d5a [IOTDB-1588] Bug fix: MAX_TIME is incorrect in cluster mode
(#3825)
db94d5a is described below
commit db94d5a59a19fe20b26bdad61fcbdc0202d464b4
Author: liuminghui233 <[email protected]>
AuthorDate: Wed Aug 25 10:16:52 2021 +0800
[IOTDB-1588] Bug fix: MAX_TIME is incorrect in cluster mode (#3825)
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 903167d..bd5c376 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
@@ -628,7 +628,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())