liuminghui233 commented on code in PR #11859:
URL: https://github.com/apache/iotdb/pull/11859#discussion_r1505565536


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/PredicateUtils.java:
##########
@@ -365,4 +330,17 @@ private static void extractConjuncts(Expression predicate, 
Set<Expression> conju
       conjuncts.add(predicate);
     }
   }
+
+  public static boolean predicateCanPushDownToSource(

Review Comment:
   done



##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/analyze/PredicateUtils.java:
##########
@@ -365,4 +330,17 @@ private static void extractConjuncts(Expression predicate, 
Set<Expression> conju
       conjuncts.add(predicate);
     }
   }
+
+  public static boolean predicateCanPushDownToSource(
+      Expression predicate, PartialPath checkedSourcePath, boolean 
isBuildPlanUseTemplate) {
+    return new PredicateCanPushDownToSourceChecker()
+        .process(
+            predicate,
+            new PredicateCanPushDownToSourceChecker.Context(
+                checkedSourcePath, isBuildPlanUseTemplate));
+  }
+
+  public static boolean predicateCanPushIntoScan(Expression predicate) {

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to