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
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.