This is an automated email from the ASF dual-hosted git repository.
caogaofei 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 4403bb890b8 Fix agg push down bug (#12598)
4403bb890b8 is described below
commit 4403bb890b8642dee24a126e715160e90ddb7a30
Author: Jackie Tien <[email protected]>
AuthorDate: Tue May 28 09:43:55 2024 +0800
Fix agg push down bug (#12598)
---
.../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