mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Add a test
This commit is contained in:
parent
7032998108
commit
c12eebb566
@ -0,0 +1,5 @@
|
||||
10000000000000000000
|
||||
10000000000000000000
|
||||
10000000000000000000
|
||||
10000000000000000000
|
||||
10000000000000000000
|
@ -0,0 +1,15 @@
|
||||
SELECT accurateCast(1e35, 'UInt32'); -- { serverError 70 }
|
||||
SELECT accurateCast(1e35, 'UInt64'); -- { serverError 70 }
|
||||
SELECT accurateCast(1e35, 'UInt128'); -- { serverError 70 }
|
||||
SELECT accurateCast(1e35, 'UInt256'); -- { serverError 70 }
|
||||
|
||||
SELECT accurateCast(1e19, 'UInt64');
|
||||
SELECT accurateCast(1e19, 'UInt128');
|
||||
SELECT accurateCast(1e19, 'UInt256');
|
||||
SELECT accurateCast(1e20, 'UInt64'); -- { serverError 70 }
|
||||
SELECT accurateCast(1e20, 'UInt128'); -- { serverError 70 }
|
||||
SELECT accurateCast(1e20, 'UInt256'); -- { serverError 70 }
|
||||
|
||||
SELECT accurateCast(1e19, 'Int64'); -- { serverError 70 }
|
||||
SELECT accurateCast(1e19, 'Int128');
|
||||
SELECT accurateCast(1e19, 'Int256');
|
Loading…
Reference in New Issue
Block a user