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;