Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> How to generate global unique ID?


+
afancy 2010-11-15, 09:09
+
Jeff Zhang 2010-11-15, 09:35
Copy link to this message
-
Re: How to generate global unique ID?
Hi, Zhang,

How to integrate this snowflake <https://github.com/twitter/snowflake> with
Hive?  Thanks!

Regards,
afancy

On Mon, Nov 15, 2010 at 10:35 AM, Jeff Zhang <[EMAIL PROTECTED]> wrote:

> Please refer https://github.com/twitter/snowflake
>
>
>
> On Mon, Nov 15, 2010 at 5:09 PM, afancy <[EMAIL PROTECTED]> wrote:
> > Hi,
> > Does anybody know how to generate a unique ID in Hive? I have a table:
> > hive> describe results;
> > OK
> > id int
> > test string
> > Time taken: 0.091 seconds
> >
> > When I insert data into the table results, i want to generate a unqiue
> Id,
> > which is like a sequence in RDBMS.
> > Regards,
> > afancy
>
>
>
> --
> Best Regards
>
> Jeff Zhang
>
+
Tim Robertson 2010-11-16, 08:11
+
afancy 2010-11-16, 08:23
+
איל 2010-11-17, 15:35