跳转至
🎉 Apache Sedona 1.9.1 已正式发布!🗺️ 新增 Geography SQL 函数、Box2D 与 Box3D 类型、栅格 Python UDF 等。查看发布说明 →

ST_Z

Introduction: Returns Z Coordinate of given Point, null otherwise.

ST_Z

Format: ST_Z(pointA: Point)

Return type: Double

Since: v1.3.0

Example:

SELECT ST_Z(ST_POINT(0.0 25.0 11.0))

Output:

11.0