mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
20 lines
778 B
SQL
20 lines
778 B
SQL
SELECT (0.1, 0.2)::Tuple(Decimal(75, 70), Decimal(75, 70));
|
|
EXPLAIN SYNTAX SELECT (0.1, 0.2)::Tuple(Decimal(75, 70), Decimal(75, 70));
|
|
|
|
SELECT 0.1 :: Decimal(4, 4);
|
|
EXPLAIN SYNTAX SELECT 0.1 :: Decimal(4, 4);
|
|
|
|
SELECT [1, 2, 3] :: Array(Int32);
|
|
EXPLAIN SYNTAX SELECT [1, 2, 3] :: Array(Int32);
|
|
|
|
SELECT [1::UInt32, 2::UInt32]::Array(UInt64);
|
|
EXPLAIN SYNTAX SELECT [1::UInt32, 2::UInt32]::Array(UInt64);
|
|
|
|
SELECT [[1, 2]::Array(UInt32), [3]]::Array(Array(UInt64));
|
|
EXPLAIN SYNTAX SELECT [[1, 2]::Array(UInt32), [3]]::Array(Array(UInt64));
|
|
|
|
SELECT [[1::UInt16, 2::UInt16]::Array(UInt32), [3]]::Array(Array(UInt64));
|
|
EXPLAIN SYNTAX SELECT [[1::UInt16, 2::UInt16]::Array(UInt32), [3]]::Array(Array(UInt64));
|
|
|
|
SELECT [(1, 'a'), (3, 'b')]::Nested(u UInt8, s String) AS t, toTypeName(t);
|