hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From afancy <grou...@gmail.com>
Subject How to generate global unique ID?
Date Mon, 15 Nov 2010 09:09:19 GMT
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

Mime
View raw message