This is an automated email from the ASF dual-hosted git repository.

lihaopeng 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 a92add8a1c4 [doc](udf) support list/map basic class for array/map type 
(#2365)
a92add8a1c4 is described below

commit a92add8a1c40319bbfb36bbde09e0a6dc94336f9
Author: zhangstar333 <[email protected]>
AuthorDate: Mon May 12 15:59:05 2025 +0800

    [doc](udf) support list/map basic class for array/map type (#2365)
---
 docs/query-data/udf/java-user-defined-function.md                  | 7 ++++---
 .../current/query-data/udf/java-user-defined-function.md           | 7 ++++---
 .../version-3.0/query-data/udf/java-user-defined-function.md       | 7 ++++---
 .../version-3.0/query-data/udf/java-user-defined-function.md       | 7 ++++---
 4 files changed, 16 insertions(+), 12 deletions(-)

diff --git a/docs/query-data/udf/java-user-defined-function.md 
b/docs/query-data/udf/java-user-defined-function.md
index 895108825af..28f6d9489c4 100644
--- a/docs/query-data/udf/java-user-defined-function.md
+++ b/docs/query-data/udf/java-user-defined-function.md
@@ -52,12 +52,13 @@ Doris supports the use of Java to develop UDFs, UDAFs, and 
UDTFs. Unless otherwi
 | IPV4/IPV6             | InetAddress                  |
 | String                | String                       |
 | Decimal               | BigDecimal                   |
-| `array<Type>`         | `ArrayList<Type>`            |
-| `map<Type1,Type2>`    | `HashMap<Type1,Type2>`       |
-| `struct<Type...>`     | `ArrayList<Object>` (from version 3.0.0) |
+| `array<Type>`         | `ArrayList<Type>` or `List<Type>`          |
+| `map<Type1,Type2>`    | `HashMap<Type1,Type2>`or`Map<Type1,Type2>`     |
+| `struct<Type...>`     | `ArrayList<Object>` (from version 3.0.0) 
or`List<Object>`|
 
 :::tip
 `array/map/struct` types can be nested with other types. For instance, Doris: 
`array<array<int>>` corresponds to JAVA UDF Argument Type: 
`ArrayList<ArrayList<Integer>>`. Other types follow the same pattern.
+And `List`,`Map` class is supported from version 3.1.0
 :::
 
 :::caution Warning
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 9b52b03c2d5..069d3059e46 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
@@ -48,13 +48,14 @@ Doris 支持使用 JAVA 编写 UDF、UDAF 和 UDTF。下文如无特殊说明,
 | IPV4/IPV6        | InetAddress                                |
 | String           | String                                     |
 | Decimal          | BigDecimal                                 |
-| `array<Type>`      | `ArrayList<Type>`(支持嵌套)                  |
-| `map<Type1,Type2>` | `HashMap<Type1,Type2>`(支持嵌套)             |
-| `struct<Type...>`  | `ArrayList<Object>`(从 3.0.0 版本开始支持) |
+| `array<Type>`      | `ArrayList<Type>` `List<Type>` (支持嵌套)              |
+| `map<Type1,Type2>` | `HashMap<Type1,Type2>` `Map<Type1,Type2>`  (支持嵌套)       
   |
+| `struct<Type...>`  | `ArrayList<Object>`(从 3.0.0 版本开始支持)`List<Type>` |
 
 
 :::tip 提示
 `array`、`map`、`struct` 类型可以嵌套其它类型。例如,Doris 中的 `array<array<int>>` 对应 Java UDF 
参数类型为 `ArrayList<ArrayList<Integer>>`,其他类型依此类推。
+`List<Type>` 和 `Map<Type1,Type2>` 类的支持从3.1.0 版本开始
 :::
 
 :::caution 注意
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 eeb2fbb2281..eb5ea4e3837 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
@@ -48,13 +48,14 @@ Doris 支持使用 JAVA 编写 UDF、UDAF 和 UDTF。下文如无特殊说明,
 | IPV4/IPV6        | InetAddress                                |
 | String           | String                                     |
 | Decimal          | BigDecimal                                 |
-| `array<Type>`      | `ArrayList<Type>`(支持嵌套)                  |
-| `map<Type1,Type2>` | `HashMap<Type1,Type2>`(支持嵌套)             |
-| `struct<Type...>`  | `ArrayList<Object>`(从 3.0.0 版本开始支持) |
+| `array<Type>`      | `ArrayList<Type>``List<Type>` (支持嵌套)                  |
+| `map<Type1,Type2>` | `HashMap<Type1,Type2>`(支持嵌套) `Map<Type1,Type2>`         
   |
+| `struct<Type...>`  | `ArrayList<Object>`(从 3.0.0 版本开始支持)`List<Type>`  |
 
 
 :::tip 提示
 `array`、`map`、`struct` 类型可以嵌套其它类型。例如,Doris 中的 `array<array<int>>` 对应 Java UDF 
参数类型为 `ArrayList<ArrayList<Integer>>`,其他类型依此类推。
+`List<Type>` 和 `Map<Type1,Type2>` 类的支持从3.1.0 版本开始
 :::
 
 :::caution 注意
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 7250e717835..05a4e444165 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
@@ -52,12 +52,13 @@ Doris supports the use of Java to develop UDFs, UDAFs, and 
UDTFs. Unless otherwi
 | IPV4/IPV6             | InetAddress                  |
 | String                | String                       |
 | Decimal               | BigDecimal                   |
-| `array<Type>`         | `ArrayList<Type>`            |
-| `map<Type1,Type2>`    | `HashMap<Type1,Type2>`       |
-| `struct<Type...>`     | `ArrayList<Object>` (from version 3.0.0) |
+| `array<Type>`         | `ArrayList<Type>`  or `List<Type>`           |
+| `map<Type1,Type2>`    | `HashMap<Type1,Type2>` or`Map<Type1,Type2>`      |
+| `struct<Type...>`     | `ArrayList<Object>` (from version 3.0.0) or 
`List<Type>` |
 
 :::tip
 `array/map/struct` types can be nested with other types. For instance, Doris: 
`array<array<int>>` corresponds to JAVA UDF Argument Type: 
`ArrayList<ArrayList<Integer>>`. Other types follow the same pattern.
+And `List`,`Map` class is supported from version 3.1.0
 :::
 
 :::caution Warning


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to