You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by deepak rosario tharigopla <ro...@gmail.com> on 2014/02/23 05:08:22 UTC

UDF for converting datatype bytearray to UUID

HI Guys,

I have written an UDF which when used around a column like an aggregate
function in the PIG script, will convert the bytearray to UUID or HEX chars
which is read from a cassandra table's UUID column. Could be an handy
function for users when they use pig scripts on cassandra database.

Does this qualify as an UDF to be added to the master pig's piggybank.

Please comment..

-- 
Thanks & Regards
Deepak Rosario Pancras
*Achiever/Responsibility/Arranger/Maximizer/Harmony*

Re: UDF for converting datatype bytearray to UUID

Posted by Alan Gates <ga...@hortonworks.com>.
Definitely.  File a JIRA with a patch and one of us can review it.

Alan.

On Feb 22, 2014, at 8:08 PM, deepak rosario tharigopla <ro...@gmail.com> wrote:

> HI Guys,
> 
> I have written an UDF which when used around a column like an aggregate
> function in the PIG script, will convert the bytearray to UUID or HEX chars
> which is read from a cassandra table's UUID column. Could be an handy
> function for users when they use pig scripts on cassandra database.
> 
> Does this qualify as an UDF to be added to the master pig's piggybank.
> 
> Please comment..
> 
> -- 
> Thanks & Regards
> Deepak Rosario Pancras
> *Achiever/Responsibility/Arranger/Maximizer/Harmony*


-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.