dbms: added test [#METR-15553].

This commit is contained in:
Alexey Milovidov 2015-07-15 08:06:26 +03:00
parent 1f03f17a49
commit 6847fdb979
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,15 @@
0
0
0
1
2
3
4
5
6
7
8
9
0
0
0

View File

@ -0,0 +1,4 @@
SELECT * FROM (SELECT * WHERE dummy GLOBAL IN (SELECT 0));
SELECT * FROM (SELECT * WHERE dummy GLOBAL IN (SELECT toUInt8(number) FROM system.numbers LIMIT 10));
SELECT * FROM (SELECT * FROM (SELECT * FROM system.numbers LIMIT 20) WHERE number GLOBAL IN (SELECT number FROM system.numbers LIMIT 10));
SELECT * FROM (SELECT * FROM remote('127.0.0.{1,2,3}', system.one) WHERE dummy GLOBAL IN (SELECT * FROM remote('127.0.0.{1,2}', system.one)));