Re: inverse of kvgen and flatten?

2015-02-27 Thread Jason Altekruse
This currently is not possible, considering the existence of flatten is should definitely be added. There is a larger issue that we do not support all of the patterns that users will expect with lists. Drill is also unable to apply a scalar function over all of the elements of a list, or apply an a

inverse of kvgen and flatten?

2015-02-27 Thread Ted Dunning
I was just looking through the documentation and I don't see a way to group data and then create a list. Flatten turns a list into individual records. I would like to turn some fields from a grouped set of records into a list of objects or a list of values.