COLLECT_SET() in Hive, keep duplicates?

后端 未结 9 1535
离开以前
离开以前 2020-12-12 17:06

Is there a way to keep the duplicates in a collected set in Hive, or simulate the sort of aggregate collection that Hive provides using some other method? I want to aggregat

9条回答
  •  南笙
    南笙 (楼主)
    2020-12-12 17:41

    For what it's worth (though I know this is an older post), Hive 0.13.0 features a new collect_list() function that does not deduplicate.

提交回复
热议问题