mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-11 17:02:25 +00:00
parent
98c603eaae
commit
85448f4b13
@ -0,0 +1,3 @@
|
|||||||
|
2
|
||||||
|
2
|
||||||
|
2
|
@ -0,0 +1,6 @@
|
|||||||
|
-- Test from the issue https://github.com/ClickHouse/ClickHouse/issues/2610
|
||||||
|
drop table if exists data_01227;
|
||||||
|
create table data_01227 (key Int) Engine=MergeTree() order by key;
|
||||||
|
insert into data_01227 select * from numbers(10);
|
||||||
|
select * from remote('127.1', currentDatabase(), data_01227) prewhere key global in (select key from data_01227 prewhere key = 2);
|
||||||
|
select * from cluster('test_cluster_two_shards', currentDatabase(), data_01227) prewhere key global in (select key from data_01227 prewhere key = 2);
|
Loading…
Reference in New Issue
Block a user