lancelly commented on code in PR #14148:
URL: https://github.com/apache/iotdb/pull/14148#discussion_r1862873141


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/optimizations/LogicalOptimizeFactory.java:
##########
@@ -190,6 +198,13 @@ public LogicalOptimizeFactory(PlannerContext 
plannerContext) {
         new UnaliasSymbolReferences(plannerContext.getMetadata()),
         columnPruningOptimizer,
         inlineProjectionLimitFiltersOptimizer,
+        new IterativeOptimizer(
+            plannerContext,
+            ruleStats,
+            ImmutableSet.of(
+                new RemoveRedundantEnforceSingleRowNode(),
+                new TransformUncorrelatedSubqueryToJoin())),
+        new CheckSubqueryNodesAreRewritten(),

Review Comment:
   Yes, but I'm not certain its related to subquery. I will add 
simplifyOptimizer after this rule.



-- 
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