Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwilcoxson-rel committed Aug 21, 2024
1 parent 422fdfe commit 1b57e02
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions crates/core/src/operations/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1b57e02

Please sign in to comment.