Skip to content

Commit

Permalink
[CH] support Levenshtein distance (#6108)
Browse files Browse the repository at this point in the history
[CH] support Levenshtein distance

---------

Co-authored-by: liuneng1994 <[email protected]>
  • Loading branch information
liuneng1994 and liuneng1994 authored Jun 21, 2024
1 parent 5cd4059 commit 7a4a07f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ object ExpressionMappings {
Sig[Encode](ENCODE),
Sig[Uuid](UUID),
Sig[BitLength](BIT_LENGTH),
Sig[Levenshtein](LEVENSHTEIN),
Sig[UnBase64](UNBASE64),
Sig[Base64](BASE64),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,6 @@ class ClickHouseTestSettings extends BackendTestSettings {
.exclude("string for ascii")
.exclude("base64/unbase64 for string")
.exclude("encode/decode for string")
.exclude("Levenshtein distance")
.exclude("soundex unit test")
.exclude("replace")
.exclude("overlay for string")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,6 @@ class ClickHouseTestSettings extends BackendTestSettings {
.exclude("string for ascii")
.exclude("base64/unbase64 for string")
.exclude("encode/decode for string")
.exclude("Levenshtein distance")
.exclude("soundex unit test")
.exclude("replace")
.exclude("overlay for string")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ object ExpressionNames {
final val ENCODE = "encode"
final val UUID = "uuid"
final val BIT_LENGTH = "bit_length"
final val LEVENSHTEIN = "levenshteinDistance"
final val UNBASE64 = "unbase64"
final val BASE64 = "base64"

Expand Down

0 comments on commit 7a4a07f

Please sign in to comment.