mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
38 lines
476 B
Plaintext
38 lines
476 B
Plaintext
Standalone lambdas
|
|
2
|
|
1 \N [1,2,3]
|
|
1 \N [1,2,3]
|
|
1
|
|
0 Value
|
|
Lambda as function parameter
|
|
[2,3,4]
|
|
[2,3,4]
|
|
['1','2','3'] ['1','2','3']
|
|
['1','2','3'] ['1','2','3']
|
|
[0,0,0]
|
|
[1,2,3]
|
|
['1_0','2_0','3_0']
|
|
Lambda compound argument
|
|
(1,'Value') 1_Value
|
|
value_0_level_0_value_1_level_0
|
|
Lambda matcher
|
|
0
|
|
0 Value
|
|
[1,1,1]
|
|
[2,2,2]
|
|
0 1 1
|
|
0 2 2
|
|
Lambda untuple
|
|
(1,'Value') 1 Value
|
|
Lambda carrying
|
|
2 1
|
|
1 0
|
|
Lambda legacy syntax
|
|
[2,3,4]
|
|
[2,3,4]
|
|
[2,3,4]
|
|
['hello','world']
|
|
[2,3,4]
|
|
[2,3,4] 2
|
|
[2,3,4] 2 1
|