From 1b57e02902a368bdf26d385496f34896c66e8c7f Mon Sep 17 00:00:00 2001 From: Alex Wilcoxson Date: Wed, 21 Aug 2024 09:52:54 -0500 Subject: [PATCH] chore: fmt --- crates/core/src/operations/writer.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/crates/core/src/operations/writer.rs b/crates/core/src/operations/writer.rs index e5681f4fa8..6964e46877 100644 --- a/crates/core/src/operations/writer.rs +++ b/crates/core/src/operations/writer.rs @@ -168,18 +168,18 @@ impl DeltaWriter { let partition_cols = self.config.partition_columns.clone(); handle .spawn_blocking(move || { - divide_by_partition_values( - schema, - partition_cols, - &values, - ) + divide_by_partition_values(schema, partition_cols, &values) }) .await .map_err(|e| WriteError::Partitioning(e.to_string()))? - }, - None => divide_by_partition_values(self.config.file_schema(), self.config.partition_columns.clone(), values), - }.map_err(|e| WriteError::Partitioning(e.to_string()))?) - + } + None => divide_by_partition_values( + self.config.file_schema(), + self.config.partition_columns.clone(), + values, + ), + } + .map_err(|e| WriteError::Partitioning(e.to_string()))?) } /// Write a batch to the partition induced by the partition_values. The record batch is expected