alamb commented on code in PR #4946:
URL: https://github.com/apache/arrow-datafusion/pull/4946#discussion_r1072255043


##########
datafusion/core/src/physical_plan/union.rs:
##########
@@ -247,6 +247,30 @@ impl ExecutionPlan for UnionExec {
         }
     }
 
+    fn maintains_input_order(&self) -> bool {
+        let first_input_ordering = self.inputs[0].output_ordering();

Review Comment:
   This is basically exactly what was suggested by @mustafasrepo  with a 
slightly modified comment



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