ozankabak commented on PR #5111:
URL: 
https://github.com/apache/arrow-datafusion/pull/5111#issuecomment-1407977783

   You mean something like this?
   ```rust
   fn maintains_input_order(&self) -> Vec<bool> {
       // ... comment text ...
       if let Some(output_ordering) = self.output_ordering() {
           self.inputs()
               .iter()
               .map(|child| {
                   if let Some(child_ordering) = child.output_ordering() {
                       output_ordering.len() == child_ordering.len()
                   } else {
                       false
                   }
               })
               .collect()
       } else {
           vec![false; self.inputs().len()]
       }
   }
   ```


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