ClickHouse/tests/queries/0_stateless/01350_intdiv_nontrivial_fpe.sql
Alexey Milovidov 58d52c3715 Add a test
2020-06-28 01:37:52 +03:00

6 lines
281 B
SQL

select intDiv(-9223372036854775808, 255);
select intDiv(-9223372036854775808, 65535);
select intDiv(-9223372036854775808, 4294967295);
select intDiv(-9223372036854775808, 18446744073709551615); -- { serverError 153 }
select intDiv(-9223372036854775808, -1); -- { serverError 153 }