You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "linrrzqqq (via GitHub)" <gi...@apache.org> on 2025/05/26 13:55:07 UTC
[PR] [Enhancement] (GEO) Support MultiPolygon for Geometry functions [doris-website]
linrrzqqq opened a new pull request, #2416:
URL: https://github.com/apache/doris-website/pull/2416
## Versions
- [x] dev
- [x] 3.0
- [x] 2.1
- [ ] 2.0
## Languages
- [x] Chinese
- [x] English
## Docs Checklist
- [ ] Checked by AI
- [ ] Test Cases Built
--
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Enhancement] (GEO) Support MultiPolygon for Geometry functions [doris-website]
Posted by "KassieZ (via GitHub)" <gi...@apache.org>.
KassieZ merged PR #2416:
URL: https://github.com/apache/doris-website/pull/2416
--
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Enhancement] (GEO) Support MultiPolygon for Geometry functions [doris-website]
Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb commented on code in PR #2416:
URL: https://github.com/apache/doris-website/pull/2416#discussion_r2107637880
##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/scalar-functions/spatial-functions/st-geometryfromtext.md:
##########
@@ -59,4 +92,95 @@ SELECT ST_AsText(ST_GeometryFromText("LINESTRING (1 1, 2 2)"));
+---------------------------------------------------------+
| LINESTRING (1 1, 2 2) |
+---------------------------------------------------------+
+```
+
+```sql
+-- LINESTRING 不合法样例(端点过少)
+SELECT ST_AsText(ST_GeometryFromText("LINESTRING (1 1)"));
+```
+
+```text
++----------------------------------------------------+
+| ST_AsText(ST_GeometryFromText("LINESTRING (1 1)")) |
++----------------------------------------------------+
+| NULL |
++----------------------------------------------------+
+```
+
+```sql
+-- POLYGON 样例
+SELECT ST_AsText(ST_GeometryFromText("POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))"));
+```
+
+``` text
++-----------------------------------------------------------------------+
+| ST_AsText(ST_GeometryFromText("POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0))")) |
++-----------------------------------------------------------------------+
+| POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0)) |
++-----------------------------------------------------------------------+
+```
+
+```sql
+-- POLYGON 不合法样例(收尾不闭合)
Review Comment:
typo. 首尾
--
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-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [Enhancement] (GEO) Support MultiPolygon for Geometry functions [doris-website]
Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb commented on code in PR #2416:
URL: https://github.com/apache/doris-website/pull/2416#discussion_r2107658979
##########
i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/sql-manual/sql-functions/scalar-functions/spatial-functions/st-geometryfromtext.md:
##########
@@ -26,7 +26,7 @@ under the License.
## 描述
-将一个线型 WKT(Well Known Text)转化为对应的内存的几何形式
+WKB 的对应的几何存储形式, 当输入 WKT 格式不符合规范时返回 NULL。
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org