Skip to content

Commit

Permalink
Remove plan clone from csv
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmturner committed Mar 2, 2022
1 parent 5b22412 commit 13912c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion datafusion/src/execution/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,6 @@ impl ExecutionContext {
Ok(()) => {
let mut tasks = vec![];
for i in 0..plan.output_partitioning().partition_count() {
let plan = plan.clone();
let filename = format!("part-{}.csv", i);
let path = fs_path.join(&filename);
let file = fs::File::create(path)?;
Expand Down

0 comments on commit 13912c5

Please sign in to comment.