morrySnow commented on code in PR #1925: URL: https://github.com/apache/doris-website/pull/1925#discussion_r1942194254
########## docs/sql-manual/sql-functions/scalar-functions/spatial-functions/st-area.md: ########## @@ -0,0 +1,102 @@ +--- +{ + "title": "ST_AREA_SQUARE_METERS", + "language": "en" +} +--- + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +## Description + +Calculate the area of the region on the sphere of the Earth + +## Alias + +- ST_Area_Square_Km + +## Syntax + +```sql +ST_Area_Square_Meters( <geo>) Review Comment: 函数名用全大写 ########## docs/sql-manual/sql-functions/scalar-functions/spatial-functions/st-polygon.md: ########## @@ -28,6 +28,11 @@ under the License. Convert a WKT (Well Known Text) to the corresponding polygonal memory form +## Alias + +- st_polygonfromtext +- st_polyfromtext Review Comment: 用全大写 ########## docs/sql-manual/sql-functions/scalar-functions/spatial-functions/st-area.md: ########## @@ -0,0 +1,102 @@ +--- +{ + "title": "ST_AREA_SQUARE_METERS", Review Comment: title 和 文件名 不对应,是少了个别名? ########## docs/sql-manual/sql-functions/scalar-functions/spatial-functions/st-area.md: ########## @@ -0,0 +1,102 @@ +--- +{ + "title": "ST_AREA_SQUARE_METERS", + "language": "en" +} +--- + +<!-- +Licensed to the Apache Software Foundation (ASF) under one +or more contributor license agreements. See the NOTICE file +distributed with this work for additional information +regarding copyright ownership. The ASF licenses this file +to you under the Apache License, Version 2.0 (the +"License"); you may not use this file except in compliance +with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, +software distributed under the License is distributed on an +"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, either express or implied. See the License for the +specific language governing permissions and limitations +under the License. +--> + +## Description + +Calculate the area of the region on the sphere of the Earth + +## Alias + +- ST_Area_Square_Km Review Comment: KM 和 METERS 感觉不应该属于同名函数,返回值的意义不同 -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org