mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
17 lines
464 B
SQL
17 lines
464 B
SQL
-- Tags: shard
|
|
|
|
set optimize_skip_unused_shards=1;
|
|
|
|
drop table if exists data_01755;
|
|
drop table if exists dist_01755;
|
|
|
|
create table data_01755 (i Int) Engine=Memory;
|
|
create table dist_01755 as data_01755 Engine=Distributed(test_cluster_two_shards, currentDatabase(), data_01755, i);
|
|
|
|
insert into data_01755 values (1);
|
|
|
|
select * from dist_01755 where 1 settings enable_early_constant_folding = 0;
|
|
|
|
drop table if exists data_01755;
|
|
drop table if exists dist_01755;
|