You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select * from duckdb.query($$ select '-170141183460469231731687303715884105728'::hugeint as result $$);
But one higher works fine:
select * from duckdb.query($$ select '-170141183460469231731687303715884105728'::hugeint + 1 as result $$);
The reason for this is that this line overflows, because the positive 170141183460469231731687303715884105728 cannot be represented in a signed int128.
Description
This query returns
0
:But one higher works fine:
The reason for this is that this line overflows, because the positive 170141183460469231731687303715884105728 cannot be represented in a signed int128.
Found by #577
The text was updated successfully, but these errors were encountered: