You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ian Cook (Jira)" <ji...@apache.org> on 2021/09/10 14:12:00 UTC

[jira] [Updated] (ARROW-12710) [C++] String concatenate aggregate kernel

     [ https://issues.apache.org/jira/browse/ARROW-12710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ian Cook updated ARROW-12710:
-----------------------------
    Fix Version/s:     (was: 6.0.0)
                   7.0.0

> [C++] String concatenate aggregate kernel
> -----------------------------------------
>
>                 Key: ARROW-12710
>                 URL: https://issues.apache.org/jira/browse/ARROW-12710
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Ian Cook
>            Priority: Major
>              Labels: kernel
>             Fix For: 7.0.0
>
>
> Like MySQL/Impala {{group_concat}} and PostgreSQL {{string_agg}}. Takes a string array and a separator (possibly optional?) and returns one scalar string (one per group in the case of group aggregation) representing all the string values in the array concatenated together, with the separator added between each pair of concatenated values.
> For example, in the case of no grouping and using separator {{"-"}}, this would take input:
> {code}
> Array<string>
> [ 
>   "foo",
>   "bar",
>   "baz"
> ]
> {code}
> and return the following string scalar as output:
> {code}
> "foo-bar-baz"
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)