Skip to main content

concat_elements_utf8_many

Function concat_elements_utf8_many 

Source
pub fn concat_elements_utf8_many<Offset: OffsetSizeTrait>(
    arrays: &[&GenericStringArray<Offset>],
) -> Result<GenericStringArray<Offset>, ArrowError>
Expand description

Returns the elementwise concatenation of StringArray.

e.g:
  ["a", "b"] + [None, "c"] + [None, "d"] = [None, "bcd"]

An error will be returned if the StringArray are of different lengths

ยงErrors

Returns an error if the arrays have different lengths, or if the concatenated data is too long for the offset type.