ClickHouse/tests/queries/0_stateless/00647_histogram_negative.sql
2023-01-16 15:01:16 +08:00

7 lines
229 B
SQL

drop table if exists histogram;
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;