Alan Gates commented on PIG-893:

Semantics of chararray to numeric conversion seem straightforward.  Adopting 
standards similar to Java's Integer.valueOf() etc. would make sense.

I do not think these should be UDFs, they should be part of the language 

> support cast of chararray to other simple types
> -----------------------------------------------
>                 Key: PIG-893
>                 URL: https://issues.apache.org/jira/browse/PIG-893
>             Project: Pig
>          Issue Type: New Feature
>            Reporter: Thejas M Nair
> Pig should support casting of chararray to 
> integer,long,float,double,bytearray. If the conversion fails for reasons such 
> as overflow, cast should return null and log a warning.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to