ST_STARTPOINT (Lakehouse v1)
Renvoie le premier Point d’un LineString.
Syntaxe SQL
Section intitulée « Syntaxe SQL »ST_STARTPOINT(<geometry>)Arguments
Section intitulée « Arguments »| Arguments | Description |
|---|---|
<geometry> |
L’argument doit être une expression de type GEOMETRY qui représente un LineString. |
Type de retour
Section intitulée « Type de retour »Geometry.
Exemples SQL
Section intitulée « Exemples SQL »SELECT ST_STARTPOINT( ST_GEOMETRYFROMWKT( 'LINESTRING(1 1, 2 2, 3 3, 4 4)' ) ) AS pipeline_endpoint;
┌───────────────────┐│ pipeline_endpoint │├───────────────────┤│ POINT(1 1) │└───────────────────┘