should be it
This commit is contained in:
22
external/duckdb/test/sql/order/limit_union.test
vendored
Normal file
22
external/duckdb/test/sql/order/limit_union.test
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
# name: test/sql/order/limit_union.test
|
||||
# description: Test LIMIT with full outer joins
|
||||
# group: [order]
|
||||
|
||||
statement ok
|
||||
PRAGMA enable_verification
|
||||
|
||||
query I
|
||||
SELECT * FROM range(5) UNION ALL SELECT * FROM range(5) LIMIT 7
|
||||
----
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
0
|
||||
1
|
||||
|
||||
query I
|
||||
SELECT COUNT(*) FROM (SELECT * FROM range(5) UNION ALL SELECT * FROM range(5) LIMIT 7) tbl
|
||||
----
|
||||
7
|
||||
Reference in New Issue
Block a user