Skip to content

Commit

Permalink
Fix with_new_children for EmptyExec
Browse files Browse the repository at this point in the history
  • Loading branch information
joroKr21 committed Apr 11, 2024
1 parent f7cc822 commit 83a3558
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/physical-plan/src/empty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ impl ExecutionPlan for EmptyExec {
self: Arc<Self>,
_: Vec<Arc<dyn ExecutionPlan>>,
) -> Result<Arc<dyn ExecutionPlan>> {
Ok(Arc::new(EmptyExec::new(self.schema.clone())))
Ok(self)
}

fn execute(
Expand Down

0 comments on commit 83a3558

Please sign in to comment.