ClickHouse/tests/queries/0_stateless/01852_cast_operator_2.reference
Alexey Milovidov f5397c4430 Update tests
2021-08-15 10:53:46 +03:00

14 lines
541 B
Plaintext

(0.1,0.2)
SELECT CAST(\'(0.1, 0.2)\', \'Tuple(Decimal(75, 70), Decimal(75, 70))\')
0.1
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)