Skip to main content

concat_str_dict

Function concat_str_dict 

Source
pub fn concat_str_dict<T: Integer, U: Integer>(
    lhs: StringAVT<'_, T>,
    rhs: CategoricalAVT<'_, U>,
) -> Result<StringArray<T>, KernelError>
Expand description

Concatenates strings from a string array with dictionary values from a categorical array.

Performs element-wise concatenation where left operands come from a string array and right operands are resolved from a categorical array’s dictionary.

§Parameters

  • lhs: String array view tuple (StringArray, offset, length)
  • rhs: Categorical array view tuple (CategoricalArray, offset, length)

§Type Parameters

  • T: Integer type for string array offsets
  • U: Integer type for categorical array indices

§Returns

A new StringArray<T> containing concatenated string-dictionary pairs.

§Null Handling

Results are null if either input value is null at the corresponding position.