concat_dict_str

Function concat_dict_str 

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

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

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

§Parameters

  • lhs: Categorical array view tuple (CategoricalArray, offset, length)
  • rhs: String array view tuple (StringArray, 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 dictionary-string pairs.

§Null Handling

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