From ac6d1814e10ae7dc622e4bb067e677e32d9dba6a Mon Sep 17 00:00:00 2001 From: ion-elgreco <15728914+ion-elgreco@users.noreply.github.com> Date: Tue, 7 Nov 2023 01:01:26 +0100 Subject: [PATCH] formatting --- python/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/src/lib.rs b/python/src/lib.rs index 7907c477df..884c6f7c11 100644 --- a/python/src/lib.rs +++ b/python/src/lib.rs @@ -358,7 +358,7 @@ impl RawDeltaTable { .with_writer_properties( WriterProperties::builder() .set_compression(compress) - .build(), + .build() ); if let Some(size) = target_size { @@ -388,7 +388,7 @@ impl RawDeltaTable { max_concurrent_tasks: Option, max_spill_size: usize, min_commit_interval: Option, - compression: Option<&str>, + compression: &str, ) -> PyResult { let mut compress: Compression = compression.parse().unwrap(); @@ -399,7 +399,7 @@ impl RawDeltaTable { .with_writer_properties( WriterProperties::builder() .set_compression(compress) - .build(), + .build() ); if let Some(size) = target_size { cmd = cmd.with_target_size(size);