Skip to content

Commit b475fdc

Browse files
committed
lint
1 parent 3aefbd6 commit b475fdc

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

ballista/core/src/execution_plans/sort_shuffle/writer.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,12 @@ fn spill_all_partitions(
357357
if indices.is_empty() {
358358
continue;
359359
}
360-
let batches =
361-
materialize_partition(indices, input_store, batch_size, &mut scratch_builder)?;
360+
let batches = materialize_partition(
361+
indices,
362+
input_store,
363+
batch_size,
364+
&mut scratch_builder,
365+
)?;
362366
if !batches.is_empty() {
363367
spill_manager
364368
.spill(partition_id, batches, schema)

benchmarks/src/bin/shuffle_bench.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,9 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
337337
{
338338
let temp_dir = TempDir::new()?;
339339
let work_dir = temp_dir.path().to_str().unwrap();
340-
let _ = benchmark_hash_shuffle(&data, schema.clone(), opt.partitions, work_dir).await?;
340+
let _ =
341+
benchmark_hash_shuffle(&data, schema.clone(), opt.partitions, work_dir)
342+
.await?;
341343
println!(" Warmup iteration completed (not timed)");
342344
}
343345

0 commit comments

Comments
 (0)