Skip to main content

ends_with_str_dict

Function ends_with_str_dict 

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

Performs string predicate operations between string and categorical arrays.

Applies the specified string method (contains, starts_with, ends_with) to compare string array elements with categorical array elements.

§Type Parameters

  • T - Integer type for string array offsets
  • U - Integer type for categorical array offsets

§Arguments

  • lhs - String array (data, offset, length)
  • rhs - Categorical array (data, offset, length)

§Returns

Result containing boolean array with comparison results, or error