跳转至
🎉 SedonaDB 0.4.0 已正式发布!🗺️ 新增 Python DataFrame API、R dplyr 接口、Geography 支持及 GPU 加速空间连接。阅读发布博客 →

ST_X

Introduction: Returns X Coordinate of given Point null otherwise.

ST_X

Format: ST_X(pointA: Point)

Return type: Double

Since: v1.0.0

SQL Example

SELECT ST_X(ST_POINT(0.0 25.0))

Output:

0.0