This is an automated email from the ASF dual-hosted git repository.
paleolimbot 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 a1305707 chore(rust/sedona-functions): Fix ST_LineInterpolatePoint and
ST_LineLocatePoint (#448)
a1305707 is described below
commit a1305707ea1b29153057a500638a9b5419961e1c
Author: Hiroaki Yutani <[email protected]>
AuthorDate: Sun Dec 14 10:27:54 2025 +0900
chore(rust/sedona-functions): Fix ST_LineInterpolatePoint and
ST_LineLocatePoint (#448)
---
rust/sedona-functions/src/referencing.rs | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/rust/sedona-functions/src/referencing.rs
b/rust/sedona-functions/src/referencing.rs
index 90669c80..bc8ba969 100644
--- a/rust/sedona-functions/src/referencing.rs
+++ b/rust/sedona-functions/src/referencing.rs
@@ -25,7 +25,7 @@ use sedona_schema::{
/// ST_LineLocatePoint() scalar UDF implementation
pub fn st_line_locate_point_udf() -> SedonaScalarUDF {
SedonaScalarUDF::new_stub(
- "st_line_locate_point",
+ "st_linelocatepoint",
ArgMatcher::new(
vec![ArgMatcher::is_geometry(), ArgMatcher::is_geometry()],
SedonaType::Arrow(DataType::Float64),
@@ -52,7 +52,7 @@ fn st_line_locate_point_doc() -> Documentation {
/// ST_LineInterpolatePoint() scalar UDF implementation
pub fn st_line_interpolate_point_udf() -> SedonaScalarUDF {
SedonaScalarUDF::new_stub(
- "st_line_interpolate_point",
+ "st_lineinterpolatepoint",
ArgMatcher::new(
vec![ArgMatcher::is_geometry(), ArgMatcher::is_numeric()],
WKB_GEOMETRY,
@@ -85,11 +85,11 @@ mod tests {
#[test]
fn udf_metadata() {
let udf: ScalarUDF = st_line_interpolate_point_udf().into();
- assert_eq!(udf.name(), "st_line_interpolate_point");
+ assert_eq!(udf.name(), "st_lineinterpolatepoint");
assert!(udf.documentation().is_some());
let udf: ScalarUDF = st_line_locate_point_udf().into();
- assert_eq!(udf.name(), "st_line_locate_point");
+ assert_eq!(udf.name(), "st_linelocatepoint");
assert!(udf.documentation().is_some());
}
}