Skip to content

Conversation

@nagisa-kunhah
Copy link

@nagisa-kunhah nagisa-kunhah commented Dec 24, 2025

Versions

  • dev
  • 4.x
  • 3.x
  • 2.1

Languages

  • Chinese
  • English

Docs Checklist

  • Checked by AI
  • Test Cases Built

@nagisa-kunhah nagisa-kunhah marked this pull request as draft December 24, 2025 14:29
@nagisa-kunhah nagisa-kunhah marked this pull request as ready for review December 24, 2025 14:33
Copy link
Member

@mrhhsg mrhhsg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

说明和示例可以再详尽一些,多个参数不是同样的类型,返回什么类型

Copy link
Contributor

@zclllyybb zclllyybb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please also add docs for 4.0 version. and mention that since version 4.0.4 we support it.

将多个 map 合并为一个 map。当合并具有不同键或值类型的 map 时,该函数会找到键和值的公共类型。

:::info Note
Supported since Apache Doris 4.0.4.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

中文文档里使用中文

+---------------------------------+
```

包含 null 元素的 map 合并:null 元素通常会在合并结果中保留。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不要使用这种模糊的说法,讲清楚究竟何时保留何时不保留

- 当合并具有不同值类型的 map 时,函数会找到公共值类型

## 返回值
返回一个合并后的 `MAP`,包含所有输入 map 中的键值对。
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

结果的顺序是如何的?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants