【发布时间】:2016-12-07 06:18:53
【问题描述】:
我想在 hive 中将数组转换为字符串。我想在没有[[""]] 的情况下收集设置数组值以转换为字符串。
select actor, collect_set(date) as grpdate from actor_table group by actor;
这样[["2016-07-01", "2016-07-02"]] 就会变成2016-07-01, 2016-07-02
【问题讨论】:
标签: arrays string hive concatenation hiveql