ClickHouse/tests/queries/0_stateless/01350_intdiv_nontrivial_fpe.sql
2024-05-30 19:41:08 +00:00

6 lines
307 B
SQL

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