This returns a UUID though, not a string. I don't think this type is supported.
-Matt > On Jan 22, 2014, at 9:36 PM, Will Vaughan <william.g.vaug...@gmail.com> wrote: > > Since java.util.UUID.randomUUID() is a static function, another option > would be to use a dynamic invoker: > http://pig.apache.org/docs/r0.11.1/func.html#dynamic-invokers > > > > On Wed, Jan 22, 2014 at 1:44 PM, Russell Jurney (JIRA) <j...@apache.org>wrote: > >> >> [ >> https://issues.apache.org/jira/browse/DATAFU-18?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] >> >> Russell Jurney updated DATAFU-18: >> --------------------------------- >> >> Attachment: DATAFU-18.patch >> >> Working patch and unit test adding RandomUUID functionality. >> >>> Create datafu.util.RandomUUID UDF >>> ---------------------------------- >>> >>> Key: DATAFU-18 >>> URL: https://issues.apache.org/jira/browse/DATAFU-18 >>> Project: DataFu >>> Issue Type: Improvement >>> Reporter: Russell Jurney >>> Attachments: DATAFU-18.patch >>> >>> >>> I need this UDF, a simple call to java.util.UUID.randomUUID(); >> >> >> >> -- >> This message was sent by Atlassian JIRA >> (v6.1.5#6160) >>