You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/12/19 06:17:13 UTC

[GitHub] [doris] Yukang-Lian opened a new issue, #13982: [Feature] group_uniq_array function

Yukang-Lian opened a new issue, #13982:
URL: https://github.com/apache/doris/issues/13982

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Description
   
   **syntax**: groupUniqArray(x) or groupUniqArray(max_size)(x)
   
   **function**: Creates an array from different argument values.
   
   ```sql
   SELECT *
   FROM arrays_test
   ┌─s───────┬─arr─────┐
   │ alex    │ [1,2]   │
   │ hello   │ [1,2]   │
   │ World   │ [3,4,5] │
   │ Goodbye │ []      │
   └─────────┴─────────┘
   
   SELECT groupUniqArray(arr) from arrays_test
   ┌─groupUniqArray(arr)─┐
   │ [[],[1,2],[3,4,5]]  │
   └─────────────────────┘
   
   ```
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.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


[GitHub] [doris] morningman closed issue #13982: [Feature] group_uniq_array function

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman closed issue #13982: [Feature] group_uniq_array function
URL: https://github.com/apache/doris/issues/13982


-- 
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


[GitHub] [doris] TangSiyang2001 commented on issue #13982: [Feature] group_uniq_array function

Posted by GitBox <gi...@apache.org>.
TangSiyang2001 commented on issue #13982:
URL: https://github.com/apache/doris/issues/13982#issuecomment-1357149201

   Apply for a try.


-- 
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


[GitHub] [doris] TangSiyang2001 commented on issue #13982: [Feature] group_uniq_array function

Posted by GitBox <gi...@apache.org>.
TangSiyang2001 commented on issue #13982:
URL: https://github.com/apache/doris/issues/13982#issuecomment-1363108994

   When doing this job,I found that this function is quite similar with `collect_set`, except for the 'max_size ' limit.The sibling function `group_array` seems also in this situation.Shall we upgrade the `collect_set` and `collect_list`  to support the same semantics of the above two,or just simply create new functions as `group_uniq_array`  and  `group_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


[GitHub] [doris] Yukang-Lian closed issue #13982: [Feature] group_uniq_array function

Posted by GitBox <gi...@apache.org>.
Yukang-Lian closed issue #13982: [Feature] group_uniq_array function
URL: https://github.com/apache/doris/issues/13982


-- 
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