added test [#CLICKHOUSE-3237]

This commit is contained in:
Nikolai Kochetov 2017-08-17 22:57:38 +03:00 committed by alexey-milovidov
parent 850bc9f19d
commit f8bf45a5ec
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
drop table if exists one_table;
create table one_table (date Date, one UInt64) engine = MergeTree(date, (date, one), 8192);
insert into one_table select today(), toUInt64(1) from system.numbers limit 100000;
SET preferred_block_size_bytes = 8192;
select isNull(one) from one_table where isNull(one);