Nota
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
适用于: Databricks Runtime 17.1 及更高版本
重要
此功能目前以公共预览版提供。
返回输入 GEOMETRY
的最小 Y 坐标,或者 NULL
如果几何图形为空。
语法
st_ymin ( geoExpr )
论据
-
geoExpr
:一个GEOMETRY
值。
退货
DOUBLE
类型的值,输入的最小 Y 坐标 GEOMETRY
。
如果输入为NULL
或几何图形为空,则函数返回NULL
。
例子
-- Returns the minimum Y coordinate of a non-empty geometry.
> SELECT st_ymin(st_geomfromtext('LINESTRING(10 34,44 57,30 24)'));
24.0
-- Returns `NULL` for an empty geometry.
> SELECT st_ymin(st_geomfromtext('POLYGON EMPTY'));
NULL