File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
rust/sedona-functions/src Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,10 @@ pub fn st_geomfromwkt_udf() -> SedonaScalarUDF {
4848 Volatility :: Immutable ,
4949 Some ( doc ( "ST_GeomFromWKT" , "Geometry" ) ) ,
5050 ) ;
51- udf. with_aliases ( vec ! [ "st_geomfromtext" . to_string( ) ] )
51+ udf. with_aliases ( vec ! [
52+ "st_geomfromtext" . to_string( ) ,
53+ "st_geometryfromtext" . to_string( ) ,
54+ ] )
5255}
5356
5457/// ST_GeogFromWKT() UDF implementation
@@ -215,6 +218,7 @@ mod tests {
215218 fn aliases ( ) {
216219 let udf: ScalarUDF = st_geomfromwkt_udf ( ) . into ( ) ;
217220 assert ! ( udf. aliases( ) . contains( & "st_geomfromtext" . to_string( ) ) ) ;
221+ assert ! ( udf. aliases( ) . contains( & "st_geometryfromtext" . to_string( ) ) ) ;
218222
219223 let udf: ScalarUDF = st_geogfromwkt_udf ( ) . into ( ) ;
220224 assert ! ( udf. aliases( ) . contains( & "st_geogfromtext" . to_string( ) ) ) ;
You can’t perform that action at this time.
0 commit comments