We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6632011 commit f77260cCopy full SHA for f77260c
src/rewrite/exploitation.rs
@@ -274,7 +274,10 @@ impl UserDefinedLogicalNodeCore for OneOf {
274
}
275
276
fn inputs(&self) -> Vec<&LogicalPlan> {
277
- self.branches.iter().collect_vec()
+ self.branches
278
+ .iter()
279
+ .sorted_by(|a, b| a.partial_cmp(b).unwrap_or(std::cmp::Ordering::Equal))
280
+ .collect_vec()
281
282
283
fn schema(&self) -> &datafusion_common::DFSchemaRef {
0 commit comments