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

Ian Cook updated ARROW-12709:
-----------------------------
    Description: 
Similar to SQL's {{concat}} and {{concat_ws}}. Should take 0, 1, 2, ... string 
arrays and an optional separator (default empty string) and concatenate them 
together, returning a string array.

For example, in the case of 2 input arrays and with the separator {{"-"}}, this 
would take inputs:
{code}
Array<string>        Array<string>
[                    [
  "foo",               "bar",
  "push"               "pop"
]                    ]
{code}
and return output:
{code}
Array<string>
[ 
  "foo-bar",
  "push-pop"
] 
{code}

Should also accept scalar strings and recycle their values.


  was:Similar to SQL's {{concat}} and {{concat_ws}}. Should take 0, 1, 2, ... 
string arrays and an optional separator (default empty string) and concatenate 
them together, returning a string array. Should also accept scalar strings and 
recycle their values.


> [C++] Add variadic string join kernel
> -------------------------------------
>
>                 Key: ARROW-12709
>                 URL: https://issues.apache.org/jira/browse/ARROW-12709
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Ian Cook
>            Priority: Major
>
> Similar to SQL's {{concat}} and {{concat_ws}}. Should take 0, 1, 2, ... 
> string arrays and an optional separator (default empty string) and 
> concatenate them together, returning a string array.
> For example, in the case of 2 input arrays and with the separator {{"-"}}, 
> this would take inputs:
> {code}
> Array<string>        Array<string>
> [                    [
>   "foo",               "bar",
>   "push"               "pop"
> ]                    ]
> {code}
> and return output:
> {code}
> Array<string>
> [ 
>   "foo-bar",
>   "push-pop"
> ] 
> {code}
> Should also accept scalar strings and recycle their values.



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

Reply via email to