morrySnow commented on code in PR #1818: URL: https://github.com/apache/doris-website/pull/1818#discussion_r1919526691
########## docs/sql-manual/sql-functions/scalar-functions/spatial-functions/st-angle-sphere.md: ########## @@ -24,36 +24,51 @@ specific language governing permissions and limitations under the License. --> -## ST_Angle_Sphere -### description -#### Syntax +## Description -`DOUBLE ST_Angle_Sphere(DOUBLE x_lng, DOUBLE x_lat, DOUBLE y_lng, DOUBLE y_lat)` +Calculate the center Angle between two points on the Earth's surface in degrees. The parameters passed in are the longitude of point X, latitude of point X, longitude of point Y, and latitude of point Y. +## Syntax +```sql +DOUBLE ST_Angle_Sphere(DOUBLE x_lng, DOUBLE x_lat, DOUBLE y_lng, DOUBLE y_lat) Review Comment: 语法中不写出类型,参数用尖括号括起来 ```suggestion ST_Angle_Sphere(<x_lng>, <x_lat>, <y_lng>, <y_lat>) ``` ########## docs/sql-manual/sql-functions/scalar-functions/spatial-functions/st-angle-sphere.md: ########## @@ -24,36 +24,51 @@ specific language governing permissions and limitations under the License. --> -## ST_Angle_Sphere -### description -#### Syntax +## Description -`DOUBLE ST_Angle_Sphere(DOUBLE x_lng, DOUBLE x_lat, DOUBLE y_lng, DOUBLE y_lat)` +Calculate the center Angle between two points on the Earth's surface in degrees. The parameters passed in are the longitude of point X, latitude of point X, longitude of point Y, and latitude of point Y. +## Syntax +```sql +DOUBLE ST_Angle_Sphere(DOUBLE x_lng, DOUBLE x_lat, DOUBLE y_lng, DOUBLE y_lat) +``` + +## Parameters -Calculates the central angle between two points on the Earth's surface. The incoming parameters are the longitude of point X, the latitude of point X, the longitude of point Y and the latitude of point Y. +| Parameters | Instructions | +| -- | -- | +| `x_lng` | Longitude data, reasonable value range is [-180, 180] | Review Comment: ```suggestion | `<x_lng>` | Longitude data, reasonable value range is [-180, 180] | ``` ########## docs/sql-manual/sql-functions/scalar-functions/spatial-functions/st-angle-sphere.md: ########## @@ -24,36 +24,51 @@ specific language governing permissions and limitations under the License. --> -## ST_Angle_Sphere -### description -#### Syntax +## Description -`DOUBLE ST_Angle_Sphere(DOUBLE x_lng, DOUBLE x_lat, DOUBLE y_lng, DOUBLE y_lat)` +Calculate the center Angle between two points on the Earth's surface in degrees. The parameters passed in are the longitude of point X, latitude of point X, longitude of point Y, and latitude of point Y. +## Syntax Review Comment: 和上一行中间加个空行,避免渲染出错 -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
