You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "HonestManXin (via GitHub)" <gi...@apache.org> on 2025/10/19 14:30:59 UTC

[PR] [feature](agg) support aggregation function agg_array_sum [doris-website]

HonestManXin opened a new pull request, #2988:
URL: https://github.com/apache/doris-website/pull/2988

   ## Versions 
   
   - [x ] dev
   - [ ] 3.x
   - [ ] 2.1
   - [ ] 2.0
   
   ## Languages
   
   - [ x ] Chinese
   - [ x ] English
   
   ## Docs Checklist
   
   - [ ] Checked by AI
   - [ ] Test Cases Built
   


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [feature](agg) support aggregation function agg_array_sum [doris-website]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman commented on PR #2988:
URL: https://github.com/apache/doris-website/pull/2988#issuecomment-6224526544

   Thank you for your contribution! The functionality described here has not yet been implemented or merged into the relevant Doris branches. We are closing this documentation PR for now. Please feel free to reopen it when the implementation is available and the documentation is needed.


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [feature](agg) support aggregation function agg_array_sum [doris-website]

Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb commented on PR #2988:
URL: https://github.com/apache/doris-website/pull/2988#issuecomment-3424535353

   please link your code PR here


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [feature](agg) support aggregation function agg_array_sum [doris-website]

Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb commented on code in PR #2988:
URL: https://github.com/apache/doris-website/pull/2988#discussion_r2446635661


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/sql-manual/sql-functions/aggregate-functions/agg-array-sum.md:
##########
@@ -0,0 +1,69 @@
+---
+{
+"title": "AGG_ARRAY_SUM",
+"language": "zh-CN"
+}
+---
+
+## 描述
+
+计算输入数组每一位置元素和,返回一个新的数组
+
+## 语法 
+
+```sql
+AGG_ARRAY_SUM(<expr>)
+```
+
+## 参数
+
+| 参数 | 说明                                          |
+| -- |---------------------------------------------|
+| `<expr>` | 需要求和的表达式,元素类型为Numerical的Array。 |
+
+## 返回值
+
+返回一个包含数组每个位置元素和的新数组。
+如果组内没有合法数据,则返回空数组。
+
+## 举例

Review Comment:
   please also add case that there's null value in array



-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [feature](agg) support aggregation function agg_array_sum [doris-website]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed pull request #2988: [feature](agg) support aggregation function agg_array_sum
URL: https://github.com/apache/doris-website/pull/2988


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org