Skip to content

Commit dab92e1

Browse files
committed
clippy
1 parent 28839e3 commit dab92e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datafusion/core/benches/sort_merge_join.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn create_smj_exec(array_len: usize, batch_size: usize) -> SortMergeJoinExec {
5353
})
5454
.collect::<Vec<_>>();
5555
let datasource_exec =
56-
MemorySourceConfig::try_new_exec(&vec![batches], Arc::clone(&schema), None)
56+
MemorySourceConfig::try_new_exec(&[batches], Arc::clone(&schema), None)
5757
.unwrap();
5858

5959
let on = vec![(
@@ -81,7 +81,7 @@ fn bench_spill(c: &mut Criterion) {
8181

8282
// create a session context. enable spilling
8383
let runtime_env = RuntimeEnvBuilder::new()
84-
.with_memory_limit(1024 * 1, 1.0) // Set memory limit to 1MB
84+
.with_memory_limit(1024, 1.0) // Set memory limit to 1KB
8585
.with_disk_manager(DiskManagerConfig::NewOs) // Enable DiskManager to allow spilling
8686
.build_arc()
8787
.unwrap();

0 commit comments

Comments
 (0)