This is an automated email from the ASF dual-hosted git repository. jackietien pushed a commit to branch ty/AggPushDownBug in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit e3eb6c80ecb00a3912f78ce4b84020a238768076 Author: JackieTien97 <[email protected]> AuthorDate: Mon May 27 20:13:19 2024 +0800 Fix agg push down bug --- .../iotdb/db/queryengine/plan/optimization/AggregationPushDown.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/optimization/AggregationPushDown.java b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/optimization/AggregationPushDown.java index 30ae6faff02..7f7ba25c6d4 100644 --- a/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/optimization/AggregationPushDown.java +++ b/iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/optimization/AggregationPushDown.java @@ -246,7 +246,7 @@ public class AggregationPushDown implements PlanOptimizer { boolean isSingleSource = child instanceof SeriesScanSourceNode; boolean needCheckAscending = node.getGroupByTimeParameter() == null; if (isSingleSource && ((SeriesScanSourceNode) child).getPushDownPredicate() != null) { - needCheckAscending = false; + // needCheckAscending = false; Expression pushDownPredicate = ((SeriesScanSourceNode) child).getPushDownPredicate(); if (!PredicateUtils.predicateCanPushIntoScan(pushDownPredicate)) { // don't push down, simplify the BE side logic
