mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Adapt test after some overflow checks were removed
This commit is contained in:
parent
597dcc3e59
commit
059bdd89dc
@ -158,6 +158,7 @@
|
||||
0.12345678912345678
|
||||
0.1234567890123456789012345678901234567
|
||||
1234567890.0000000000000000000000000000 1234567890.00000000000000000000000000000 1234567890.00000000000000000000000000000
|
||||
-126561577.683753853853498429727072845824
|
||||
1234567890.00000000 1234567890.000000000 1234567890.000000000
|
||||
12345678.0 12345678.00 12345678.00
|
||||
9223372036854775807.000000 9223372036854775807 -9223372036854775807
|
||||
|
@ -148,7 +148,7 @@ SELECT CAST('0.123456789123456789', 'Decimal(18,17)');
|
||||
SELECT CAST('0.12345678901234567890123456789012345678', 'Decimal(38,37)');
|
||||
|
||||
SELECT toDecimal128('1234567890', 28) AS x, toDecimal128(x, 29), toDecimal128(toDecimal128('1234567890', 28), 29);
|
||||
SELECT toDecimal128(toDecimal128('1234567890', 28), 30); -- { serverError 407 }
|
||||
SELECT toDecimal128(toDecimal128('1234567890', 28), 30);
|
||||
|
||||
SELECT toDecimal64('1234567890', 8) AS x, toDecimal64(x, 9), toDecimal64(toDecimal64('1234567890', 8), 9);
|
||||
SELECT toDecimal64(toDecimal64('1234567890', 8), 10); -- { serverError 407 }
|
||||
|
Loading…
Reference in New Issue
Block a user