Hadoop/Hive Collect_list without repeating items
问题 Based on the post, Hive 0.12 - Collect_list, I am trying to locate Java code to implement a UDAF that will accomplish this or similar functionality but without a repeating sequence. For instance, collect_all() returns a sequence A, A, A, B, B, A, C, C I would like to have the sequence A, B, A, C returned. Sequentially repeated items would be removed. Does anyone know of a function in Hive 0.12 that will accomplish or has written their own UDAF? As always, thanks for the help. 回答1: I ran into