datafusion_functions::string::levenshtein

Function levenshtein

Source
pub fn levenshtein<T: OffsetSizeTrait>(args: &[ArrayRef]) -> Result<ArrayRef>
Expand description

Returns the Levenshtein distance between the two given strings. LEVENSHTEIN(‘kitten’, ‘sitting’) = 3