ST_STARTPOINT(Lakehouse v1)
返回 LineString 中的第一个 Point。
SQL 语法
Section titled “SQL 语法”ST_STARTPOINT(<geometry>)| 参数 | 说明 |
|---|---|
<geometry> |
参数必须是表示 LineString 的 GEOMETRY 类型表达式。 |
Geometry。
SQL 示例
Section titled “SQL 示例”SELECT ST_STARTPOINT( ST_GEOMETRYFROMWKT( 'LINESTRING(1 1, 2 2, 3 3, 4 4)' ) ) AS pipeline_endpoint;
┌───────────────────┐│ pipeline_endpoint │├───────────────────┤│ POINT(1 1) │└───────────────────┘