summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_clickhouse.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-24 07:49:56 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-24 07:49:56 +0000
commit97144fb2271b9bd749deac2eb3537103d9513182 (patch)
treeebd8aa8769becb97f7477cf9c14889146e6b8614 /tests/dialects/test_clickhouse.py
parentAdding upstream version 20.3.0. (diff)
downloadsqlglot-97144fb2271b9bd749deac2eb3537103d9513182.tar.xz
sqlglot-97144fb2271b9bd749deac2eb3537103d9513182.zip
Adding upstream version 20.4.0.upstream/20.4.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 1f528b6..bb993b5 100644
--- a/tests/dialects/test_clickhouse.py
+++ b/tests/dialects/test_clickhouse.py
@@ -47,6 +47,7 @@ class TestClickhouse(Validator):
self.validate_identity("SELECT INTERVAL t.days day")
self.validate_identity("SELECT match('abc', '([a-z]+)')")
self.validate_identity("dictGet(x, 'y')")
+ self.validate_identity("SELECT * FROM final")
self.validate_identity("SELECT * FROM x FINAL")
self.validate_identity("SELECT * FROM x AS y FINAL")
self.validate_identity("'a' IN mapKeys(map('a', 1, 'b', 2))")