SparkSQL中的collect_set()函数对于输入类型的限制
在HQL中,collect_set() 支持各种类型的字段的聚合;
-- HQL 中可以执行如下操作
SELECT ssoid,
collect_set(nickname)[0] AS nickname,
collect_set(nat_code)[0] AS nat_code,
collect_set(reg_brand)[0] AS reg_brand,
collect_set(r...
原创
2019-07-17 11:27:33 ·
4848 阅读 ·
0 评论