summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_clickhouse.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-15 06:50:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-11-15 06:50:53 +0000
commit9ea19406554b72a52291ed499dfcfcbf136d9db7 (patch)
tree27e7d270fc36574ab41d7510be3c460817f9d6e2 /tests/dialects/test_clickhouse.py
parentReleasing debian version 25.29.0-1. (diff)
downloadsqlglot-9ea19406554b72a52291ed499dfcfcbf136d9db7.tar.xz
sqlglot-9ea19406554b72a52291ed499dfcfcbf136d9db7.zip
Merging upstream version 25.30.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dialects/test_clickhouse.py')
-rw-r--r--tests/dialects/test_clickhouse.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/dialects/test_clickhouse.py b/tests/dialects/test_clickhouse.py
index a0efb54..5a4461e 100644
--- a/tests/dialects/test_clickhouse.py
+++ b/tests/dialects/test_clickhouse.py
@@ -82,6 +82,7 @@ class TestClickhouse(Validator):
self.validate_identity("SELECT histogram(5)(a)")
self.validate_identity("SELECT groupUniqArray(2)(a)")
self.validate_identity("SELECT exponentialTimeDecayedAvg(60)(a, b)")
+ self.validate_identity("levenshteinDistance(col1, col2)", "editDistance(col1, col2)")
self.validate_identity("SELECT * FROM foo WHERE x GLOBAL IN (SELECT * FROM bar)")
self.validate_identity("position(haystack, needle)")
self.validate_identity("position(haystack, needle, position)")