ST_ENDPOINT(Lakehouse v1)
LineStringの最後のPointを返します。
SQL Syntax
Section titled “SQL Syntax”ST_ENDPOINT(<geometry>)| 引数 | 説明 |
|---|---|
<geometry> |
LineStringを表すGEOMETRY型の式を指定する必要があります。 |
Geometry。
SQL Examples
Section titled “SQL Examples”SELECT ST_ENDPOINT( ST_GEOMETRYFROMWKT( 'LINESTRING(1 1, 2 2, 3 3, 4 4)' ) ) AS pipeline_endpoint;
┌───────────────────┐│ pipeline_endpoint │├───────────────────┤│ POINT(4 4) │└───────────────────┘