This is an automated email from the ASF dual-hosted git repository.

jiayu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/sedona-db.git


The following commit(s) were added to refs/heads/main by this push:
     new 33ac33f  bug: Add missing arg to call_udf in setsrid test (#22)
33ac33f is described below

commit 33ac33f2928531970df318a36395a84bd1413db1
Author: Peter Nguyen <[email protected]>
AuthorDate: Thu Sep 4 20:15:26 2025 -0700

    bug: Add missing arg to call_udf in setsrid test (#22)
---
 rust/sedona-functions/src/st_setsrid.rs | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/rust/sedona-functions/src/st_setsrid.rs 
b/rust/sedona-functions/src/st_setsrid.rs
index b08076b..b4e4c18 100644
--- a/rust/sedona-functions/src/st_setsrid.rs
+++ b/rust/sedona-functions/src/st_setsrid.rs
@@ -214,8 +214,13 @@ mod test {
         assert_value_equal(&result, &geom_lnglat);
 
         // Call with an integer code of 0 (should unset the output crs)
-        let (return_type, result) =
-            call_udf(&udf, geom_lnglat.clone(), unset_scalar.clone()).unwrap();
+        let (return_type, result) = call_udf(
+            &udf,
+            geom_lnglat.clone(),
+            WKB_GEOMETRY,
+            unset_scalar.clone(),
+        )
+        .unwrap();
         assert_eq!(return_type, WKB_GEOMETRY);
         assert_value_equal(&result, &geom_arg);
 

Reply via email to