Added test with monotonic integer cast.

This commit is contained in:
Nikolai Kochetov 2018-07-06 18:21:25 +03:00 committed by alexey-milovidov
parent 7592b6e34a
commit f676fed344
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,5 @@
drop table if exists test.table;
create table test.table (val Int32) engine = MergeTree order by val;
insert into test.table values (-2), (0), (2);
select count() from test.table where toUInt64(val) == 0;