方法1:SELECT uuid();
方法2:select replace(java_method(“java.util.UUID”,“randomUUID”),’-’,’’);
注意,这个方法有bug是hive的,https://stackoverflow.com/questions/49163124/hive-built-in-fucntion-uuid-not-working
Hive生成uuid重复的问题
最新推荐文章于 2024-07-05 14:14:34 发布
方法1:SELECT uuid();
方法2:select replace(java_method(“java.util.UUID”,“randomUUID”),’-’,’’);
注意,这个方法有bug是hive的,https://stackoverflow.com/questions/49163124/hive-built-in-fucntion-uuid-not-working