We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f3ecf commit e9c08d9Copy full SHA for e9c08d9
1 file changed
rust/sedona-functions/src/st_points.rs
@@ -115,6 +115,7 @@ pub fn st_npoints_udf() -> SedonaScalarUDF {
115
ItemCrsKernel::wrap_impl(vec![Arc::new(STNPoints)]),
116
Volatility::Immutable,
117
)
118
+ .with_aliases(vec!["st_numpoints".to_string()])
119
}
120
121
#[derive(Debug)]
@@ -296,6 +297,12 @@ mod tests {
296
297
assert!(st_npoints_udf.documentation().is_none());
298
299
300
+ #[test]
301
+ fn npoints_aliases() {
302
+ let udf: ScalarUDF = st_npoints_udf().into();
303
+ assert!(udf.aliases().contains(&"st_numpoints".to_string()));
304
+ }
305
+
306
#[rstest]
307
fn udf(#[values(WKB_GEOMETRY, WKB_GEOGRAPHY)] sedona_type: SedonaType) {
308
use arrow_array::UInt64Array;
0 commit comments