alpass163 commented on code in PR #16700:
URL: https://github.com/apache/iotdb/pull/16700#discussion_r2501851691


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/relational/planner/optimizations/LogicalOptimizeFactory.java:
##########
@@ -275,6 +277,17 @@ public LogicalOptimizeFactory(PlannerContext 
plannerContext) {
                         // new MergeExcept
                         new PruneDistinctAggregation()))
                 .build()),
+        new IterativeOptimizer(
+            plannerContext,
+            ruleStats,
+            ImmutableSet.<Rule<?>>builder()
+                .add(
+                    new ImplementIntersectDistinctAsUnion(metadata),
+                    // new ImplementExceptDistinctAsUnion(metadata)
+                    new ImplementIntersectAll(metadata)
+                    // new ImplementExceptAll(metadata))),
+                    )
+                .build()),

Review Comment:
   the except of implementation would be supplied later on



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