mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Test specifically with wide parts
This commit is contained in:
parent
feb5c8f278
commit
59a9fe0d92
@ -0,0 +1,3 @@
|
||||
foo
|
||||
foo
|
||||
foo
|
@ -0,0 +1,17 @@
|
||||
drop table if exists t;
|
||||
|
||||
create table t (id UInt32, a Int) engine = MergeTree order by id settings min_bytes_for_wide_part=0;
|
||||
|
||||
insert into t values (1, 0) (2, 1) (3, 0) (4, 0) (5, 0);
|
||||
alter table t add column s String default 'foo';
|
||||
select s from t prewhere a = 1;
|
||||
|
||||
drop table t;
|
||||
|
||||
create table t (id UInt32, a Int) engine = MergeTree order by id settings min_bytes_for_wide_part=0;
|
||||
|
||||
insert into t values (1, 1) (2, 1) (3, 0) (4, 0) (5, 0);
|
||||
alter table t add column s String default 'foo';
|
||||
select s from t prewhere a = 1;
|
||||
|
||||
drop table t;
|
Loading…
Reference in New Issue
Block a user