Categories: String
LEVENSHTEIN
Computes the Levenshtein distance between two input expressions.
Syntax
LEVENSHTEIN(expression1 varchar, expression2 varchar) → int
- expression1: The first string expression.
- expression2: The second string expression.
Examples
LEVENSHTEIN exampleSELECT LEVENSHTEIN('dremio', 'iceberg')
-- 6