diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-12-19 11:01:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-12-19 11:01:55 +0000 |
commit | f1c2dbe3b17a0d5edffbb65b85b642d0bb2756c5 (patch) | |
tree | 5dce0fe2a11381761496eb973c20750f44db56d5 /tests/test_executor.py | |
parent | Releasing debian version 20.1.0-1. (diff) | |
download | sqlglot-f1c2dbe3b17a0d5edffbb65b85b642d0bb2756c5.tar.xz sqlglot-f1c2dbe3b17a0d5edffbb65b85b642d0bb2756c5.zip |
Merging upstream version 20.3.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/test_executor.py')
-rw-r--r-- | tests/test_executor.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_executor.py b/tests/test_executor.py index ffe00a7..78d037a 100644 --- a/tests/test_executor.py +++ b/tests/test_executor.py @@ -290,11 +290,6 @@ class TestExecutor(unittest.TestCase): [(1,), (2,), (3,)], ), ( - "SELECT 1 AS a UNION SELECT 2 AS a UNION SELECT 3 AS a", - ["a"], - [(1,), (2,), (3,)], - ), - ( "SELECT 1 / 2 AS a", ["a"], [ @@ -320,6 +315,11 @@ class TestExecutor(unittest.TestCase): (None,), ], ), + ( + "SELECT a FROM x UNION ALL SELECT a FROM x LIMIT 1", + ["a"], + [("a",)], + ), ]: with self.subTest(sql): if isinstance(rows, list): |