mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 14:02:21 +00:00
54 lines
1.0 KiB
Plaintext
54 lines
1.0 KiB
Plaintext
-- Negative tests
|
|
-- Tests
|
|
-- Array
|
|
[1,2,3] [4,5,6] 32 UInt16
|
|
[1,2,3] [4,5,6] 32 UInt32
|
|
[1,2,3] [4,5,6] 32 UInt64
|
|
[1,2,3] [4,5,6] 32 UInt64
|
|
[-1,-2,-3] [4,5,6] -32 Int16
|
|
[-1,-2,-3] [4,5,6] -32 Int32
|
|
[-1,-2,-3] [4,5,6] -32 Int64
|
|
[-1,-2,-3] [4,5,6] -32 Int64
|
|
[1,2,3] [4,5,6] 32 Float32
|
|
[1,2,3] [4,5,6] 32 Float64
|
|
[] [] 0 Float32
|
|
[] [] 0 UInt16
|
|
-- Tuple
|
|
(1,2,3) (4,5,6) 32 UInt64
|
|
(1,2,3) (4,5,6) 32 UInt64
|
|
(1,2,3) (4,5,6) 32 UInt64
|
|
(1,2,3) (4,5,6) 32 UInt64
|
|
(-1,-2,-3) (4,5,6) -32 Int64
|
|
(-1,-2,-3) (4,5,6) -32 Int64
|
|
(-1,-2,-3) (4,5,6) -32 Int64
|
|
(-1,-2,-3) (4,5,6) -32 Int64
|
|
(1,2,3) (4,5,6) 32 Float64
|
|
(1,2,3) (4,5,6) 32 Float64
|
|
-- Non-const argument
|
|
[1,2,3] [4,5,6] 32 UInt16
|
|
[] [] 0 Float32
|
|
[] [] 0 UInt16
|
|
-- Array with mixed element arguments types (result type is the supertype)
|
|
[1,2,3] [4,5,6] 32 Float32
|
|
-- Tuple with mixed element arguments types
|
|
(1,2,3) (4,5,6) 32 Float64
|
|
-- Aliases
|
|
32
|
|
32
|
|
32
|
|
-- Tests that trigger special paths
|
|
-- non-const / non-const
|
|
0 61
|
|
1 186
|
|
0 61
|
|
1 186
|
|
0 61
|
|
1 186
|
|
-- const / non-const
|
|
0 62
|
|
1 187
|
|
0 62
|
|
1 187
|
|
0 62
|
|
1 187
|