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()