Files
doris/regression-test/data/query_p0/aggregate/map_agg.out
Jerry Hu b41fcbb783 [feature](agg) add the aggregation function 'mag_agg' (#22043)
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;
2023-07-25 11:21:03 +08:00

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