jiayuasu commented on code in PR #1179:
URL: https://github.com/apache/sedona/pull/1179#discussion_r1441187321


##########
docs/tutorial/sql.md:
##########
@@ -632,6 +632,277 @@ can also be found in the example notebook available 
[here](https://github.com/ap
 
 Details on all the APIs available by SedonaKepler are listed in the 
[SedonaKepler API docs](../../api/sql/Visualization_SedonaKepler)
 
+## Create a User-Defined Function (UDF)
+
+User-Defined Functions (UDFs) are user-created procedures that can perform 
operations on a single row of information. To cover almost all use cases, we 
will showcase 4 types of UDFs for a better understanding of how to use geometry 
with UDFs.

Review Comment:
   Please add that:
   
   Sedona's serializer deserializes the SQL geometry type to [JTS 
Geometry](https://locationtech.github.io/jts/javadoc-1.18.0/org/locationtech/jts/geom/Geometry.html)
 (Scala/Java) or [Shapely 
Geometry](https://shapely.readthedocs.io/en/stable/geometry.html) (Python). You 
can implement any custom logic using the rich ecosystem around these two 
libraries.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to