mirror of
https://github.com/langchain-ai/datafusion-materialized-views.git
synced 2026-07-01 21:04:01 -04:00
make explain output stable (#44)
This commit is contained in:
@@ -274,7 +274,10 @@ impl UserDefinedLogicalNodeCore for OneOf {
|
||||
}
|
||||
|
||||
fn inputs(&self) -> Vec<&LogicalPlan> {
|
||||
self.branches.iter().collect_vec()
|
||||
self.branches
|
||||
.iter()
|
||||
.sorted_by(|a, b| a.partial_cmp(b).unwrap_or(std::cmp::Ordering::Equal))
|
||||
.collect_vec()
|
||||
}
|
||||
|
||||
fn schema(&self) -> &datafusion_common::DFSchemaRef {
|
||||
|
||||
Reference in New Issue
Block a user