For collect_set is it possible to only collect a few elements and then
stop? For example

Select user,collect_set(timestamp)
from XYZ
group by user.

For each user, there could be hundreds of timestamps, but I only need 3 or
4 per user. Is there a way to tell collect_set to stop collecting after
it's reached a certain number of elements?

-- 
*

Robert Li | Integration and Support Engineer  | Kontagent
Kontagent is Hiring! <http://www.kontagent.com/why/careers/> | Check us out
in the press! <http://www.kontagent.com/why/news/>*
*Check out our blog: kScope <http://kaleidoscope.kontagent.com/> | Twitter:
@Kontagent <http://www.twitter.com/kontagent>*

Reply via email to