ClickHouse/tests/queries/0_stateless/00647_histogram_negative.sql

7 lines
229 B
MySQL
Raw Normal View History

drop table if exists histogram;
2023-01-12 12:59:59 +00:00
create table histogram(num Int64) engine=TinyLog;
insert into histogram values(-1);
insert into histogram values(-1);
select histogram(2)(num) from histogram;
drop table if exists histogram;