ClickHouse/tests/queries/0_stateless/01852_cast_operator_2.reference
2021-05-25 02:50:28 +03:00

14 lines
682 B
Plaintext

(0.1000000000000000000000000000000000000000000000000000000000000000000000,0.2000000000000000000000000000000000000000000000000000000000000000000000)
SELECT CAST(\'(0.1, 0.2)\', \'Tuple(Decimal(75, 70), Decimal(75, 70))\')
0.1000
SELECT CAST(\'0.1\', \'Decimal(4, 4)\')
[1,2,3]
SELECT CAST(\'[1, 2, 3]\', \'Array(Int32)\')
[1,2]
SELECT CAST([CAST(\'1\', \'UInt32\'), CAST(\'2\', \'UInt32\')], \'Array(UInt64)\')
[[1,2],[3]]
SELECT CAST([CAST(\'[1, 2]\', \'Array(UInt32)\'), [3]], \'Array(Array(UInt64))\')
[[1,2],[3]]
SELECT CAST([CAST([CAST(\'1\', \'UInt16\'), CAST(\'2\', \'UInt16\')], \'Array(UInt32)\'), [3]], \'Array(Array(UInt64))\')
[(1,'a'),(3,'b')] Nested(u UInt8, s String)