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 f7b24df commit 2e17661Copy full SHA for 2e17661
src/dataset_exec.rs
@@ -164,7 +164,7 @@ impl ExecutionPlan for DatasetExec {
164
self.schema.clone()
165
}
166
167
- fn children(&self) -> Vec<Arc<dyn ExecutionPlan>> {
+ fn children(&self) -> Vec<&Arc<dyn ExecutionPlan>> {
168
// this is a leaf node and has no children
169
vec![]
170
src/physical_plan.rs
@@ -40,7 +40,7 @@ impl PyExecutionPlan {
40
self.plan
41
.children()
42
.iter()
43
- .map(|p| p.to_owned().into())
+ .map(|p| p.clone().to_owned().into())
44
.collect()
45
46
0 commit comments