mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-19 14:11:58 +00:00
Repro test case
This commit is contained in:
parent
517fcb1d02
commit
ae03442ca6
@ -0,0 +1,17 @@
|
||||
-- {echoOn}
|
||||
SELECT arrayExists(x -> (x IN (SELECT '2')), [2]) FROM system.one;
|
||||
1
|
||||
SELECT arrayExists(x -> (x IN (SELECT '2')), [2]) FROM remote('127.0.0.{2,3}', system.one);
|
||||
1
|
||||
1
|
||||
SELECT arrayExists(x -> (x IN (SELECT '2')), [2]) FROM remote('127.0.0.{2,3}', system.one) GROUP BY NULL;
|
||||
1
|
||||
SELECT arrayExists(x -> (x IN (SELECT '2')), [2]) FROM remote('127.0.0.{2,3}', system.one) GROUP BY 1;
|
||||
1
|
||||
SELECT arrayExists(x -> (x IN (SELECT '2')), [2]) FROM remote('127.0.0.{2,3}', system.one) GROUP BY 'A';
|
||||
1
|
||||
SELECT 1000.0001, toUInt64(arrayJoin([NULL, 257, 65536, NULL])), arrayExists(x -> (x IN (SELECT '2.55')), [-9223372036854775808]) FROM remote('127.0.0.{1,2}', system.one) GROUP BY NULL, NULL, NULL, NULL;
|
||||
1000.0001 \N 0
|
||||
1000.0001 257 0
|
||||
1000.0001 65536 0
|
||||
1000.0001 \N 0
|
12
tests/queries/0_stateless/02596_build_set_and_remote.sql
Normal file
12
tests/queries/0_stateless/02596_build_set_and_remote.sql
Normal file
@ -0,0 +1,12 @@
|
||||
-- {echoOn}
|
||||
SELECT arrayExists(x -> (x IN (SELECT '2')), [2]) FROM system.one;
|
||||
|
||||
SELECT arrayExists(x -> (x IN (SELECT '2')), [2]) FROM remote('127.0.0.{2,3}', system.one);
|
||||
|
||||
SELECT arrayExists(x -> (x IN (SELECT '2')), [2]) FROM remote('127.0.0.{2,3}', system.one) GROUP BY NULL;
|
||||
|
||||
SELECT arrayExists(x -> (x IN (SELECT '2')), [2]) FROM remote('127.0.0.{2,3}', system.one) GROUP BY 1;
|
||||
|
||||
SELECT arrayExists(x -> (x IN (SELECT '2')), [2]) FROM remote('127.0.0.{2,3}', system.one) GROUP BY 'A';
|
||||
|
||||
SELECT 1000.0001, toUInt64(arrayJoin([NULL, 257, 65536, NULL])), arrayExists(x -> (x IN (SELECT '2.55')), [-9223372036854775808]) FROM remote('127.0.0.{1,2}', system.one) GROUP BY NULL, NULL, NULL, NULL;
|
Loading…
Reference in New Issue
Block a user