From 3f650bfbab7bc1c0cca75bf9b1eb73b675024959 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Fri, 13 Jun 2014 06:14:22 +0400 Subject: [PATCH] dbms: added test for ANY LEFT JOIN [#METR-11370]. --- .../queries/0_stateless/00049_any_left_join.reference | 10 ++++++++++ dbms/tests/queries/0_stateless/00049_any_left_join.sql | 1 + 2 files changed, 11 insertions(+) create mode 100644 dbms/tests/queries/0_stateless/00049_any_left_join.reference create mode 100644 dbms/tests/queries/0_stateless/00049_any_left_join.sql diff --git a/dbms/tests/queries/0_stateless/00049_any_left_join.reference b/dbms/tests/queries/0_stateless/00049_any_left_join.reference new file mode 100644 index 00000000000..606d31057dd --- /dev/null +++ b/dbms/tests/queries/0_stateless/00049_any_left_join.reference @@ -0,0 +1,10 @@ +0 1 +1 0 +2 21 +3 0 +4 41 +5 0 +6 61 +7 0 +8 81 +9 0 diff --git a/dbms/tests/queries/0_stateless/00049_any_left_join.sql b/dbms/tests/queries/0_stateless/00049_any_left_join.sql new file mode 100644 index 00000000000..28f8c43fe2f --- /dev/null +++ b/dbms/tests/queries/0_stateless/00049_any_left_join.sql @@ -0,0 +1 @@ +SELECT number, joined FROM system.numbers ANY LEFT JOIN (SELECT number * 2 AS number, number * 10 + 1 AS joined FROM system.numbers LIMIT 10) USING number LIMIT 10