summaryrefslogtreecommitdiffstats
path: root/tests/test_executor.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-19 11:01:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-19 11:01:36 +0000
commit948a422be120c069e48c63a8770fec7204307897 (patch)
tree80bc02d5e6cd3527409386aa1d706272bea54e6c /tests/test_executor.py
parentAdding upstream version 20.1.0. (diff)
downloadsqlglot-948a422be120c069e48c63a8770fec7204307897.tar.xz
sqlglot-948a422be120c069e48c63a8770fec7204307897.zip
Adding upstream version 20.3.0.upstream/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.py10
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):