mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-17 03:42:48 +00:00
140f5e6685
Signed-off-by: lokax <m632656684@gmail.com>
27 lines
613 B
Plaintext
27 lines
613 B
Plaintext
z
|
|
SELECT tupleElement(t1, \'z\', \'z\')
|
|
FROM t_tuple_element_default
|
|
0
|
|
SELECT tupleElement(t1, \'z\', 0)
|
|
FROM t_tuple_element_default
|
|
z
|
|
SELECT tupleElement(t2, \'z\', \'z\')
|
|
FROM t_tuple_element_default
|
|
--------------------
|
|
[(3,4)]
|
|
SELECT tupleElement([(1, 2)], \'a\', [(3, 4)])
|
|
--------------------
|
|
SELECT tupleElement(t1, \'a\', [tuple(1)])
|
|
FROM t_tuple_element_default
|
|
--------------------
|
|
[(0)]
|
|
SELECT tupleElement(t1, \'a\', [tuple(0)])
|
|
FROM t_tuple_element_default
|
|
[0]
|
|
SELECT tupleElement(t1, \'a\', [0])
|
|
FROM t_tuple_element_default
|
|
[0]
|
|
[0]
|
|
SELECT tupleElement(t1, \'a\', [0])
|
|
FROM t_tuple_element_default
|