[ 
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

Dmitriy,
Thank you for your review and comments. I updated the patch and here's a 
comment about the patch. I did not remove the testcase with pig script, because 
executing a pig script involves more things,such as type checking. So It would 
be safer to add such testcase. Besides, I also add a testcase for 
straightforward conversion.

Alan,
Thank you for your comments. Now I understand why pig put bytesTo*** in the 
LoadFunc.



> 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
>            Assignee: Jeff Zhang
>             Fix For: 0.4.0
>
>         Attachments: Pig_893.Patch
>
>
> 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