mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Added a test
This commit is contained in:
parent
73a5c38398
commit
63a88de161
@ -0,0 +1,6 @@
|
||||
0
|
||||
0
|
||||
0
|
||||
1
|
||||
3
|
||||
5
|
5
tests/queries/0_stateless/01360_division_overflow.sql
Normal file
5
tests/queries/0_stateless/01360_division_overflow.sql
Normal file
@ -0,0 +1,5 @@
|
||||
select intDiv(materialize(toInt32(1)), 0x100000000);
|
||||
select intDiv(materialize(toInt32(1)), -0x100000000);
|
||||
select intDiv(materialize(toInt32(1)), -9223372036854775808);
|
||||
select materialize(toInt32(1)) % -9223372036854775808;
|
||||
select value % -9223372036854775808 from (select toInt32(arrayJoin([3, 5])) value);
|
Loading…
Reference in New Issue
Block a user