Function arrow::compute::kernels::concat_elements::concat_elements_utf8

source ยท
pub fn concat_elements_utf8<Offset>(
    left: &GenericByteArray<GenericStringType<Offset>>,
    right: &GenericByteArray<GenericStringType<Offset>>,
) -> Result<GenericByteArray<GenericStringType<Offset>>, ArrowError>
where Offset: OffsetSizeTrait,
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