[ https://issues.apache.org/jira/browse/PIG-893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Zhang updated PIG-893: --------------------------- Attachment: Pig_893_Patch.txt attach the patch including the TestCase. I extract the bytesTo* method from Utf8StorageConverter to CastUtil. Then these methods can been reused by other objects. > 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 > Affects Versions: 0.4.0 > Reporter: Thejas M Nair > Fix For: 0.4.0 > > Attachments: Pig_893_Patch.txt > > > 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.