New aggregation function: map_agg. This function requires two arguments: a key and a value, which are used to build a map. select map_agg(column1, column2) from t group by column3;
23 lines
383 B
Plaintext
23 lines
383 B
Plaintext
-- This file is automatically generated. You should know what you did if you want to edit this
|
|
-- !sql1 --
|
|
1 V1_1 V1_2 V1_3
|
|
2 V2_1 V2_2 V2_3
|
|
3 V3_1 V3_2 V3_3
|
|
4 V4_1 V4_2 V4_3
|
|
5 V5_1 V5_2 V5_3
|
|
|
|
-- !sql2 --
|
|
1 V1_1 V1_2 \N
|
|
2 V2_1 \N V2_3
|
|
3 V3_1 V3_2 V3_3
|
|
4 V4_1 V4_2 \N
|
|
5 V5_1 V5_2 V5_3
|
|
|
|
-- !sql2 --
|
|
1 V1_1 V1_2 V1_3
|
|
2 V2_1 V2_2 V2_3
|
|
3 V3_1 V3_2 V3_3
|
|
4 V4_1 V4_2 V4_3
|
|
5 V5_1 V5_2 V5_3
|
|
|