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: 使用相对路径即可,路径地址使用 ../sql-manual/sql-functions/table-functions/explode-numbers-outer -- 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