mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
some tests [CLICKHOUSE-3905]
This commit is contained in:
parent
d0f452f6d9
commit
4cf8f174da
@ -127,3 +127,5 @@
|
||||
42.42 42.4200000 42.4200000000000000 42.420000000000000000000000000000000000
|
||||
123456789 123456789123456789
|
||||
12345678901234567890123456789012345678
|
||||
0.123456789 0.123456789123456789
|
||||
0.12345678901234567890123456789012345678
|
||||
|
@ -92,4 +92,10 @@ SELECT CAST('123456789', 'Decimal(9,1)'); -- { serverError 69 }
|
||||
SELECT CAST('123456789123456789', 'Decimal(18,1)'); -- { serverError 69 }
|
||||
SELECT CAST('12345678901234567890123456789012345678', 'Decimal(38,1)'); -- { serverError 69 }
|
||||
|
||||
SELECT CAST('0.123456789', 'Decimal(9,9)'), CAST('0.123456789123456789', 'Decimal(18,18)');
|
||||
SELECT CAST('0.12345678901234567890123456789012345678', 'Decimal(38,38)');
|
||||
SELECT CAST('0.123456789', 'Decimal(9,8)'); -- { serverError 69 }
|
||||
SELECT CAST('0.123456789123456789', 'Decimal(18,17)'); -- { serverError 69 }
|
||||
SELECT CAST('0.12345678901234567890123456789012345678', 'Decimal(38,37)'); -- { serverError 69 }
|
||||
|
||||
DROP TABLE IF EXISTS test.decimal;
|
||||
|
Loading…
Reference in New Issue
Block a user