From 22afae3b4a0b5736ab7e9a3f7b33cbfda44f53fd Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Mon, 7 Jul 2014 02:32:37 +0400 Subject: [PATCH] dbms: added test [#METR-11370]. --- .../queries/0_stateless/00059_global_in.reference | 10 ++++++++++ dbms/tests/queries/0_stateless/00059_global_in.sql | 1 + 2 files changed, 11 insertions(+) create mode 100644 dbms/tests/queries/0_stateless/00059_global_in.reference create mode 100644 dbms/tests/queries/0_stateless/00059_global_in.sql diff --git a/dbms/tests/queries/0_stateless/00059_global_in.reference b/dbms/tests/queries/0_stateless/00059_global_in.reference new file mode 100644 index 00000000000..a66518cd1a4 --- /dev/null +++ b/dbms/tests/queries/0_stateless/00059_global_in.reference @@ -0,0 +1,10 @@ +1 +3 +5 +7 +9 +11 +13 +15 +17 +19 diff --git a/dbms/tests/queries/0_stateless/00059_global_in.sql b/dbms/tests/queries/0_stateless/00059_global_in.sql new file mode 100644 index 00000000000..4f766e62e7b --- /dev/null +++ b/dbms/tests/queries/0_stateless/00059_global_in.sql @@ -0,0 +1 @@ +SELECT number FROM remote('127.0.0.{1,2}', system, numbers) WHERE number GLOBAL IN (SELECT number FROM remote('127.0.0.{1,2}', system, numbers) WHERE number % 2 = 1 LIMIT 10) LIMIT 10;