hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lenni Kuff (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12721) Add UUID built in function
Date Fri, 11 Mar 2016 06:28:12 GMT

    [ https://issues.apache.org/jira/browse/HIVE-12721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15190521#comment-15190521
] 

Lenni Kuff commented on HIVE-12721:
-----------------------------------

[~jbeard] - Curious if the following would work for you:
{code}
 SELECT reflect("java.util.UUID", "randomUUID")
{code}

I do see the value of a first-class UUID built-in though, as reflect() may be restricted in
some deployments due to security requirements. 

> Add UUID built in function
> --------------------------
>
>                 Key: HIVE-12721
>                 URL: https://issues.apache.org/jira/browse/HIVE-12721
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Jeremy Beard
>            Assignee: Jeremy Beard
>         Attachments: HIVE-12721.patch
>
>
> A UUID function would be very useful for ETL jobs that need to generate surrogate keys.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message