diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-10-04 09:37:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-10-04 09:37:14 +0000 |
commit | 7b29f6168bf9fcb2d886447066a9bb51675e5665 (patch) | |
tree | ff74c45f55651c73cce0cd58145667de43db9d12 /tests/test_parser.py | |
parent | Releasing debian version 6.2.6-1. (diff) | |
download | sqlglot-7b29f6168bf9fcb2d886447066a9bb51675e5665.tar.xz sqlglot-7b29f6168bf9fcb2d886447066a9bb51675e5665.zip |
Merging upstream version 6.2.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_parser.py')
-rw-r--r-- | tests/test_parser.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_parser.py b/tests/test_parser.py index 4c46531..4e86516 100644 --- a/tests/test_parser.py +++ b/tests/test_parser.py @@ -122,6 +122,9 @@ class TestParser(unittest.TestCase): def test_parameter(self): self.assertEqual(parse_one("SELECT @x, @@x, @1").sql(), "SELECT @x, @@x, @1") + def test_var(self): + self.assertEqual(parse_one("SELECT @JOIN, @'foo'").sql(), "SELECT @JOIN, @'foo'") + def test_annotations(self): expression = parse_one( """ |