diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-16 05:45:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-16 05:45:49 +0000 |
commit | 87bb420e43bf31021b090be98143a32042255a46 (patch) | |
tree | f68baf119ccffb6ebc64ba066af1491ddcb0f121 /tests/dialects/test_tableau.py | |
parent | Adding upstream version 21.0.2. (diff) | |
download | sqlglot-87bb420e43bf31021b090be98143a32042255a46.tar.xz sqlglot-87bb420e43bf31021b090be98143a32042255a46.zip |
Adding upstream version 21.1.1.upstream/21.1.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/dialects/test_tableau.py')
-rw-r--r-- | tests/dialects/test_tableau.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/dialects/test_tableau.py b/tests/dialects/test_tableau.py index 0f612dd..fe605b1 100644 --- a/tests/dialects/test_tableau.py +++ b/tests/dialects/test_tableau.py @@ -6,6 +6,21 @@ class TestTableau(Validator): def test_tableau(self): self.validate_all( + "[x]", + write={ + "hive": "`x`", + "tableau": "[x]", + }, + ) + self.validate_all( + '"x"', + write={ + "hive": "'x'", + "tableau": "'x'", + }, + ) + + self.validate_all( "IF x = 'a' THEN y ELSE NULL END", read={ "presto": "IF(x = 'a', y, NULL)", |