Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12710

[C++] String concatenate aggregate kernel

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++

    Description

      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"
      

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              icook Ian Cook
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: