Jia Yu created SEDONA-458:
-----------------------------
Summary: The docs should have examples for UDF
Key: SEDONA-458
URL: https://issues.apache.org/jira/browse/SEDONA-458
Project: Apache Sedona
Issue Type: Task
Reporter: Jia Yu
We should add Scala/Java/Python UDF examples for Sedona. The example should
show how users implement a UDF to access the geometry type object in Apache
Sedona DataFrame.
The UDF examples should include examples as follows. Each example should have
Scala, Java, and Python snippet.
1.
Input: geometry
Output: geometry
2.
Input: geometry
Output: other primitive type
3.
Input: geometry, other primitive type
Output: geometry
4.
Input: geometry, other primitive type
Output: geometry, other primitive type (this can be done via struct type)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)