ClickHouse/tests/queries/0_stateless/00653_monotonic_integer_cast.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
241 B
MySQL
Raw Normal View History

2019-06-03 17:36:27 +00:00
drop table if exists `table_00653`;
create table `table_00653` (val Int32) engine = MergeTree order by val;
insert into `table_00653` values (-2), (0), (2);
select count() from `table_00653` where toUInt64(val) == 0;
2019-06-07 15:41:24 +00:00
drop table table_00653;