Skip to content

Commit

Permalink
Fix agg push down bug (#12598)
Browse files Browse the repository at this point in the history
  • Loading branch information
JackieTien97 authored May 28, 2024
1 parent 2ed6140 commit 4403bb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public PlanNode visitRawDataAggregation(RawDataAggregationNode node, RewriterCon
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
Expand Down

0 comments on commit 4403bb8

Please sign in to comment.