From 62817c67af97147de30031dcd147184cb6f1c332 Mon Sep 17 00:00:00 2001 From: desmondcheongzx Date: Fri, 20 Dec 2024 08:40:57 +0800 Subject: [PATCH] change assert to debug assert --- src/daft-functions/src/uri/upload.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daft-functions/src/uri/upload.rs b/src/daft-functions/src/uri/upload.rs index 14136561e4..5b01858b94 100644 --- a/src/daft-functions/src/uri/upload.rs +++ b/src/daft-functions/src/uri/upload.rs @@ -145,7 +145,7 @@ fn prepare_folder_paths( instantiate_and_trim_path(folder_path, true, &mut instantiated_folder_paths)?; Ok(repeat(folder_path).take(len).collect()) } else { - assert_eq!(arr.len(), len); + debug_assert_eq!(arr.len(), len); Ok(arr .as_arrow() .iter()