mihaibudiu commented on code in PR #5378:
URL: https://github.com/apache/calcite/pull/5378#discussion_r4428646402


##########
core/src/main/java/org/apache/calcite/rel/rules/ProjectSetOpTransposeRule.java:
##########
@@ -67,8 +68,8 @@ public ProjectSetOpTransposeRule(
     final Project origProject = call.rel(0);
     final SetOp setOp = call.rel(1);
 
-    // cannot push project past a distinct
-    if (!setOp.all) {
+    // only UNION ALL; other set ops compare rows on all fields

Review Comment:
   Is the rule misnamed?



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