Skip to content

[C++] String concatenate aggregate kernel #28454

@asfimport

Description

@asfimport

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:

Array<string>
[ 
  "foo",
  "bar",
  "baz"
]

and return the following string scalar as output:

"foo-bar-baz"

 

Reporter: Ian Cook / @ianmcook

Related issues:

Note: This issue was originally created as ARROW-12710. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions