-
Notifications
You must be signed in to change notification settings - Fork 412
[Feature](docs) Impl the function map_concat like spark #3220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
mrhhsg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
说明和示例可以再详尽一些,多个参数不是同样的类型,返回什么类型
zclllyybb
left a comment
There was a problem hiding this 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.
docs/sql-manual/sql-functions/scalar-functions/map-functions/map-concat.md
Outdated
Show resolved
Hide resolved
| 将多个 map 合并为一个 map。当合并具有不同键或值类型的 map 时,该函数会找到键和值的公共类型。 | ||
|
|
||
| :::info Note | ||
| Supported since Apache Doris 4.0.4. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中文文档里使用中文
| +---------------------------------+ | ||
| ``` | ||
|
|
||
| 包含 null 元素的 map 合并:null 元素通常会在合并结果中保留。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不要使用这种模糊的说法,讲清楚究竟何时保留何时不保留
| - 当合并具有不同值类型的 map 时,函数会找到公共值类型 | ||
|
|
||
| ## 返回值 | ||
| 返回一个合并后的 `MAP`,包含所有输入 map 中的键值对。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
结果的顺序是如何的?
Versions
Languages
Docs Checklist