luzhijing commented on code in PR #569:
URL: https://github.com/apache/doris-website/pull/569#discussion_r1571731870


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/ecosystem/udf/java-user-defined-function.md:
##########
@@ -324,11 +333,40 @@ CREATE AGGREGATE FUNCTION middle_quantiles(DOUBLE,INT) 
RETURNS DOUBLE PROPERTIES
 );
 ```
 
+<version since="2.1">
+
+## 编写 UDTF 函数
+<br/>
+UDTF 和 UDF 函数一样,需要用户自主实现一个 `evaluate` 方法, 但是UDTF函数的返回值必须是array类型。
+另外Doris中表函数会因为_outer后缀有不同的表现,可查看[OUTER组合器](https://doris.apache.org/zh-CN/docs/dev/sql-manual/sql-functions/table-functions/explode-numbers-outer)

Review Comment:
   使用相对路径即可,[Outer 
组合器](../sql-manual/sql-functions/table-functions/explode-numbers-outer)



##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/ecosystem/udf/java-user-defined-function.md:
##########
@@ -324,11 +333,40 @@ CREATE AGGREGATE FUNCTION middle_quantiles(DOUBLE,INT) 
RETURNS DOUBLE PROPERTIES
 );
 ```
 
+<version since="2.1">
+
+## 编写 UDTF 函数
+<br/>
+UDTF 和 UDF 函数一样,需要用户自主实现一个 `evaluate` 方法, 但是UDTF函数的返回值必须是array类型。

Review Comment:
   中文文档在英文和字母前后加空格,Array 首字母大写



-- 
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: dev-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org
For additional commands, e-mail: dev-h...@doris.apache.org

Reply via email to