mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
15 lines
595 B
SQL
15 lines
595 B
SQL
SELECT [3,4,5][1]::Int32;
|
|
EXPLAIN SYNTAX SELECT [3,4,5][1]::Int32;
|
|
|
|
SELECT [3,4,5]::Array(Int64)[2]::Int8;
|
|
EXPLAIN SYNTAX SELECT [3,4,5]::Array(Int64)[2]::Int8;
|
|
|
|
SELECT [1,2,3]::Array(UInt64)[[number, number]::Array(UInt8)[number]::UInt64]::UInt8 from numbers(3);
|
|
EXPLAIN SYNTAX SELECT [1,2,3]::Array(UInt64)[[number, number]::Array(UInt8)[number]::UInt64]::UInt8 from numbers(3);
|
|
|
|
SELECT tuple(3,4,5).1::Int32;
|
|
EXPLAIN SYNTAX SELECT tuple(3,4,5).1::Int32;
|
|
|
|
SELECT tuple(3,4,5)::Tuple(UInt64, UInt64, UInt64).2::Int32;
|
|
EXPLAIN SYNTAX SELECT tuple(3,4,5)::Tuple(UInt64, UInt64, UInt64).1::Int32;
|