iGN5117 commented on code in PR #853:
URL: https://github.com/apache/sedona/pull/853#discussion_r1223539708


##########
docs/api/flink/Function.md:
##########
@@ -695,6 +695,28 @@ SELECT ST_NumInteriorRings(ST_GeomFromText('POLYGON ((0 0, 
0 5, 5 5, 5 0, 0 0),
 
 Output: `1`
 
+## ST_NumPoints
+
+Introduction: Returns number of points in a LineString.
+
+!!!note
+    If any other geometry is provided as an argument, an 
IllegalArgumentException is thrown. 
+    Example: 
+    `SELECT ST_NumPoints(ST_GeomFromWKT('MULTIPOINT ((0 0), (1 1), (0 1), (2 
2))'))`
+
+    Output: `IllegalArgumentException: Unsupported geometry type: MultiPoint, 
only LineString geometry is supported.`
+
+Format: `ST_NumPoints(geom: geometry)`
+
+Since: `v1.4.1`
+
+Spark SQL example:

Review Comment:
   Sorry about that, removed



-- 
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