You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "puranjay2597 (via GitHub)" <gi...@apache.org> on 2026/02/24 14:58:03 UTC
Re: [PR] [feat](func) Add levenshtein, damerau_levenshtein, jaro_winkler, jaccard_similarity built-in scalar functions [doris]
puranjay2597 commented on PR #60799:
URL: https://github.com/apache/doris/pull/60799#issuecomment-3952633963
@zclllyybb - I've added be-ut and regression-test cases, and also removed cosine_similarity since it conflicts with #60403.
Regarding damerau_levenshtein — ClickHouse has [damerauLevenshteinDistance] (https://clickhouse.com/docs/en/sql-reference/functions/string-functions#dameraulevensteindistance). The key difference from standard Levenshtein is that a single adjacent transposition (e.g. 'ab' → 'ba') costs 1 instead of 2, which matters for natural-language typo correction and deduplication
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org