Skip to content

Commit

Permalink
Imported test from #2094
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-milovidov committed Aug 5, 2018
1 parent 36eae15 commit ab96e1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dbms/tests/queries/0_stateless/00098_1_union_all.reference
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
1000
2000
1000 Alice
2000 Alice
6 changes: 6 additions & 0 deletions dbms/tests/queries/0_stateless/00098_1_union_all.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ UNION ALL
SELECT value AS val FROM data2014 WHERE name = 'Alice')
ORDER BY val ASC;

SELECT val, name FROM
(SELECT value AS val, value AS val_1, name FROM data2013 WHERE name = 'Alice'
UNION ALL
SELECT value AS val, value, name FROM data2014 WHERE name = 'Alice')
ORDER BY val ASC;

0 comments on commit ab96e1d

Please sign in to comment.