I'm trying to implement a WindowFunction like collect_list, but I have to collect a struct. collect_list works only for primitive type.
I think I might modify GenericUDAFCollectList, but haven't tried it yet. I'm wondering if there is an example showing how to write a custom WindowFunction in Spark-sql Thanks.
