pepijnve commented on issue #16994:
URL: https://github.com/apache/datafusion/issues/16994#issuecomment-3139984941

   I came up with this as unit test, but that pretty much duplicates the 
implementation. Should I add this test case or is it not worth it?
   
   ```
   #[test]
   fn maintains_input_order() -> Result<()> {
       let schema = Arc::new(Schema::empty());
       let exec = LazyMemoryExec::try_new(schema, vec![])?;
       let coop = CooperativeExec::new(Arc::new(exec));
       let maintains_input_order = coop.maintains_input_order();
       assert_eq!(maintains_input_order, vec![true;coop.children().len()]);
       Ok(())
   }
   ```


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to