Update 01079_new_range_reader_segfault.sql

This commit is contained in:
Anton Popov 2020-02-14 01:58:30 +03:00 committed by GitHub
parent 7041e28077
commit 7042bafda4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;