v.25.10Improvement

Add overload to hasAny/hasAllTokens to accept

Added overload to hasAny/hasAllTokens to accept a string input. #88679 (George Larionov).
Added new overloads for the hasAny and hasAllTokens functions to accept a single string as input.

Why it matters

This feature simplifies usage of hasAny and hasAllTokens by allowing them to directly accept a string input, eliminating the need for manual tokenization beforehand. It improves convenience and reduces complexity when checking if any or all tokens from a string exist in a dataset.

How to use it

Users can now call hasAny(string_column, 'string_input') and hasAllTokens(string_column, 'string_input') directly, where the second argument is a string. The functions will internally tokenize the string input and perform the checks accordingly.