From e077008ceef873a5fc7740ea6975182ed0004ac2 Mon Sep 17 00:00:00 2001 From: Andy Grove Date: Fri, 13 Dec 2024 12:14:25 -0700 Subject: [PATCH] clippy --- native/spark-expr/src/schema_adapter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/spark-expr/src/schema_adapter.rs b/native/spark-expr/src/schema_adapter.rs index 8f30735f6..161ad6f16 100644 --- a/native/spark-expr/src/schema_adapter.rs +++ b/native/spark-expr/src/schema_adapter.rs @@ -350,7 +350,7 @@ mod test { let filename = filename.as_path().as_os_str().to_str().unwrap().to_string(); let file = File::create(&filename)?; let mut writer = ArrowWriter::try_new(file, Arc::clone(&batch.schema()), None)?; - writer.write(&batch)?; + writer.write(batch)?; writer.close()?; let object_store_url = ObjectStoreUrl::local_filesystem();