mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Update 01079_new_range_reader_segfault.sql
This commit is contained in:
parent
7041e28077
commit
7042bafda4
@ -3,7 +3,7 @@ drop table if exists t;
|
||||
create table t (a Int) engine = MergeTree order by a;
|
||||
|
||||
-- some magic to satisfy conditions to run optimizations in MergeTreeRangeReader
|
||||
insert into t select number < 10 ? 0 : 1 from numbers(50);
|
||||
insert into t select number < 20 ? 0 : 1 from numbers(50);
|
||||
alter table t add column s String default 'foo';
|
||||
|
||||
select s from t prewhere a != 1 where rand() % 2 = 0 limit 1;
|
||||
|
Loading…
Reference in New Issue
Block a user