Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Dec 21, 2024
1 parent 3dccf7d commit dec355f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions native/core/src/execution/shuffle/shuffle_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,12 +346,7 @@ impl PartitionBuffer {
let frozen_capacity_old = self.frozen.capacity();
let mut cursor = Cursor::new(&mut self.frozen);
cursor.seek(SeekFrom::End(0))?;
write_ipc_compressed(
&frozen_batch,
&mut cursor,
&self.codec,
ipc_time,
)?;
write_ipc_compressed(&frozen_batch, &mut cursor, &self.codec, ipc_time)?;

mem_diff += (self.frozen.capacity() - frozen_capacity_old) as isize;
Ok(mem_diff)
Expand Down

0 comments on commit dec355f

Please sign in to comment.