Re: How to generate global unique ID?

2010-11-16 Thread Tim Robertson
Does it need to be a sequential INT? If not, then a UUID works very well. Cheers, Tim On Tue, Nov 16, 2010 at 8:55 AM, afancy grou...@gmail.com wrote: Hi, Zhang, How to integrate this snowflake with Hive?  Thanks! Regards, afancy On Mon, Nov 15, 2010 at 10:35 AM, Jeff Zhang

Re: How to generate global unique ID?

2010-11-16 Thread afancy
Hi, Tim, I think sequential integer would be better. Is it difficult to generate a global integer? BTW: how to generate UUID in Hive? thanks Regards, afancy On Tue, Nov 16, 2010 at 9:11 AM, Tim Robertson timrobertson...@gmail.comwrote: Does it need to be a sequential INT? If not, then a UUID