Skip to content

Commit

Permalink
support Levenshtein distance
Browse files Browse the repository at this point in the history
  • Loading branch information
liuneng1994 committed Jun 17, 2024
1 parent e4388e6 commit 4dc210b
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),

// URL functions
Sig[ParseUrl](PARSE_URL),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,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 @@ -912,7 +912,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"

// URL functions
final val PARSE_URL = "parse_url"
Expand Down

0 comments on commit 4dc210b

Please sign in to comment.