Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


Copy link to this message
-
How to generate global unique ID?
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
+
Jeff Zhang 2010-11-15, 09:35
+
afancy 2010-11-16, 07:55
+
Tim Robertson 2010-11-16, 08:11
+
afancy 2010-11-16, 08:23
+
איל 2010-11-17, 15:35
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB