This is an automated email from the ASF dual-hosted git repository. zhangstar333 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new a0d580503b [doc](udf) update some error about java-udf type (#1523) a0d580503b is described below commit a0d580503bb8105ba37753b9d14323173a967191 Author: zhangstar333 <zhangs...@selectdb.com> AuthorDate: Tue Dec 17 15:23:01 2024 +0800 [doc](udf) update some error about java-udf type (#1523) ## Versions - [x] dev - [x] 3.0 - [x] 2.1 - [ ] 2.0 ## Languages - [x] Chinese - [x] English ## Docs Checklist - [ ] Checked by AI - [ ] Test Cases Built --- docs/query-data/udf/java-user-defined-function.md | 2 +- .../current/query-data/udf/java-user-defined-function.md | 2 +- .../version-2.1/query-data/udf/java-user-defined-function.md | 2 +- .../version-3.0/query-data/udf/java-user-defined-function.md | 4 ++-- .../version-2.1/query-data/udf/java-user-defined-function.md | 2 +- .../version-3.0/query-data/udf/java-user-defined-function.md | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/query-data/udf/java-user-defined-function.md b/docs/query-data/udf/java-user-defined-function.md index db44bf68cd..b199bd8037 100644 --- a/docs/query-data/udf/java-user-defined-function.md +++ b/docs/query-data/udf/java-user-defined-function.md @@ -382,7 +382,7 @@ For more syntax details, please refer to [CREATE FUNCTION](../../sql-manual/sql- ```sql CREATE TABLES FUNCTION java-utdf(string, string) RETURNS array<string> PROPERTIES ( - "file"="file:///pathTo/java-udaf.jar", + "file"="file:///pathTo/java-udtf.jar", "symbol"="org.apache.doris.udf.demo.UDTFStringTest", "always_nullable"="true", "type"="JAVA_UDF" diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/query-data/udf/java-user-defined-function.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/query-data/udf/java-user-defined-function.md index 37352b5bfc..611d436775 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/query-data/udf/java-user-defined-function.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/query-data/udf/java-user-defined-function.md @@ -373,7 +373,7 @@ UDTF 和 UDF 函数一样,需要用户自主实现一个 `evaluate` 方法, ```sql CREATE TABLES FUNCTION java-utdf(string, string) RETURNS array<string> PROPERTIES ( - "file"="file:///pathTo/java-udaf.jar", + "file"="file:///pathTo/java-udtf.jar", "symbol"="org.apache.doris.udf.demo.UDTFStringTest", "always_nullable"="true", "type"="JAVA_UDF" diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query-data/udf/java-user-defined-function.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query-data/udf/java-user-defined-function.md index 98fa63ee34..995493da48 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query-data/udf/java-user-defined-function.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/query-data/udf/java-user-defined-function.md @@ -57,7 +57,7 @@ CREATE AGGREGATE FUNCTION middle_quantiles(DOUBLE,INT) RETURNS DOUBLE PROPERTIES "file"="file:///pathTo/java-udaf.jar", "symbol"="org.apache.doris.udf.demo.MiddleNumberUDAF", "always_nullable"="true", - "type"="JAVA_UDAF" + "type"="JAVA_UDF" ); ``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/query-data/udf/java-user-defined-function.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/query-data/udf/java-user-defined-function.md index 2da563b0ca..01940c1b08 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/query-data/udf/java-user-defined-function.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/query-data/udf/java-user-defined-function.md @@ -57,7 +57,7 @@ CREATE AGGREGATE FUNCTION middle_quantiles(DOUBLE,INT) RETURNS DOUBLE PROPERTIES "file"="file:///pathTo/java-udaf.jar", "symbol"="org.apache.doris.udf.demo.MiddleNumberUDAF", "always_nullable"="true", - "type"="JAVA_UDAF" + "type"="JAVA_UDF" ); ``` @@ -69,7 +69,7 @@ UDTF 自 Doris 3.0 版本开始支持 ```sql CREATE TABLES FUNCTION java-utdf(string, string) RETURNS array<string> PROPERTIES ( - "file"="file:///pathTo/java-udaf.jar", + "file"="file:///pathTo/java-udtf.jar", "symbol"="org.apache.doris.udf.demo.UDTFStringTest", "always_nullable"="true", "type"="JAVA_UDF" diff --git a/versioned_docs/version-2.1/query-data/udf/java-user-defined-function.md b/versioned_docs/version-2.1/query-data/udf/java-user-defined-function.md index 53e613c0a4..df5cf6c63a 100644 --- a/versioned_docs/version-2.1/query-data/udf/java-user-defined-function.md +++ b/versioned_docs/version-2.1/query-data/udf/java-user-defined-function.md @@ -57,7 +57,7 @@ CREATE AGGREGATE FUNCTION middle_quantiles(DOUBLE,INT) RETURNS DOUBLE PROPERTIES "file"="file:///pathTo/java-udaf.jar", "symbol"="org.apache.doris.udf.demo.MiddleNumberUDAF", "always_nullable"="true", - "type"="JAVA_UDAF" + "type"="JAVA_UDF" ); ``` diff --git a/versioned_docs/version-3.0/query-data/udf/java-user-defined-function.md b/versioned_docs/version-3.0/query-data/udf/java-user-defined-function.md index 1a1d92a9db..be614f39b1 100644 --- a/versioned_docs/version-3.0/query-data/udf/java-user-defined-function.md +++ b/versioned_docs/version-3.0/query-data/udf/java-user-defined-function.md @@ -57,7 +57,7 @@ CREATE AGGREGATE FUNCTION middle_quantiles(DOUBLE,INT) RETURNS DOUBLE PROPERTIES "file"="file:///pathTo/java-udaf.jar", "symbol"="org.apache.doris.udf.demo.MiddleNumberUDAF", "always_nullable"="true", - "type"="JAVA_UDAF" + "type"="JAVA_UDF" ); ``` --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org