morningman commented on a change in pull request #1213: Add spatial func URL: https://github.com/apache/incubator-doris/pull/1213#discussion_r288490423
########## File path: docs/documentation/cn/sql-reference/sql-functions/spatial-functions/st_distance_sphere.md ########## @@ -0,0 +1,20 @@ +# `ST_Distance_Sphere` + +## Syntax + +`DOUBLE ST_Distance_Sphere(DOUBLE x_lng, DOUBLE x_lat, DOUBLE y_lng, DOUBLE x_lat)` + +## Description + +计算地球两点之间的球面距离。传入的参数分别为X点的经度,X点的纬度,Y点的经度,Y点的纬度 Review comment: ```suggestion 计算地球两点之间的球面距离,单位为 米。传入的参数分别为X点的经度,X点的纬度,Y点的经度,Y点的纬度。 ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
