From 559da607fce65258709d94a8062ad7b09296689a Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Thu, 1 Mar 2018 11:33:48 +0300 Subject: [PATCH] Added test #878 --- .../00592_union_all_different_aliases.reference | 4 ++++ .../0_stateless/00592_union_all_different_aliases.sql | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 dbms/tests/queries/0_stateless/00592_union_all_different_aliases.reference create mode 100644 dbms/tests/queries/0_stateless/00592_union_all_different_aliases.sql diff --git a/dbms/tests/queries/0_stateless/00592_union_all_different_aliases.reference b/dbms/tests/queries/0_stateless/00592_union_all_different_aliases.reference new file mode 100644 index 00000000000..98fb6a68656 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00592_union_all_different_aliases.reference @@ -0,0 +1,4 @@ +1 +1 +1 +1 diff --git a/dbms/tests/queries/0_stateless/00592_union_all_different_aliases.sql b/dbms/tests/queries/0_stateless/00592_union_all_different_aliases.sql new file mode 100644 index 00000000000..0c837a5a4f5 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00592_union_all_different_aliases.sql @@ -0,0 +1,7 @@ +SELECT 1 AS a +UNION ALL +SELECT 1 AS b; + +SELECT 1 AS a +UNION ALL +SELECT 1 AS a;