Function arrow_string::concat_elements::concat_elements_utf8

source ยท
pub fn concat_elements_utf8<Offset: OffsetSizeTrait>(
    left: &GenericStringArray<Offset>,
    right: &GenericStringArray<Offset>,
) -> Result<GenericStringArray<Offset>, ArrowError>
Expand description

Returns the elementwise concatenation of a GenericStringArray.

An index of the resulting GenericStringArray is null if any of StringArray are null at that location.

e.g:

  ["Hello"] + ["World"] = ["HelloWorld"]

  ["a", "b"] + [None, "c"] = [None, "bc"]

An error will be returned if left and right have different lengths