ST_Y (Lakehouse v1)
Returns the latitude (Y coordinate) of a Point represented by a GEOMETRY object.
SQL Syntax
Section titled “SQL Syntax”ST_Y(<geometry>)Arguments
Section titled “Arguments”| Arguments | Description |
|---|---|
<geometry> | The argument must be an expression of type GEOMETRY and must contain a Point. |
Return Type
Section titled “Return Type”Double.
SQL Examples
Section titled “SQL Examples”SELECT ST_Y( ST_MAKEGEOMPOINT( 37.5, 45.5 ) ) AS pipeline_y;
┌────────────┐│ pipeline_y │├────────────┤│ 45.5 │└────────────┘