Skip to content

Commit 48cdea9

Browse files
committed
clippy fix
1 parent 12a52ef commit 48cdea9

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

  • datafusion/physical-plan/src/joins/hash_join

datafusion/physical-plan/src/joins/hash_join/exec.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2280,9 +2280,12 @@ mod tests {
22802280
let left_batch =
22812281
build_table_i32(("a1", &vec![]), ("b1", &vec![]), ("c1", &vec![]));
22822282
let left_schema = left_batch.schema();
2283-
let left: Arc<dyn ExecutionPlan> =
2284-
TestMemoryExec::try_new_exec(&[vec![left_batch]], left_schema.clone(), None)
2285-
.unwrap();
2283+
let left: Arc<dyn ExecutionPlan> = TestMemoryExec::try_new_exec(
2284+
&[vec![left_batch]],
2285+
Arc::clone(&left_schema),
2286+
None,
2287+
)
2288+
.unwrap();
22862289

22872290
let err = exec_err!("bad data error");
22882291
let right_batch =

0 commit comments

Comments
 (0)