v.23.9New Feature
Add String Distance Functions: byteHammingDistance, editDistance
Add several string distance functions, includingbyteHammingDistance,editDistance. #54935 (flynn).
Why it matters
These functions provide efficient ways to calculate the similarity or difference between strings, which is useful for tasks like data deduplication, fuzzy matching, error detection, and approximate string comparisons within ClickHouse.How to use it
Use the new functions directly in your SQL queries. For example, you can callbyteHammingDistance(string1, string2) or editDistance(string1, string2) to compute the distance between two strings.