[ 
https://issues.apache.org/jira/browse/PIG-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905324#action_12905324
 ] 

Thejas M Nair commented on PIG-1572:
------------------------------------

Yes, the changes to UserFuncExpression.getFieldSchema() are no longer required 
because the cast inserted to appropriate type. But while thinking about that I 
believe I have found an issue with the handling of non PigStorage load 
functions.
Since this patch address a bunch of issues I will commit it and create a new 
jira to address that, and also look at the utility of this change to 
UserFuncExpression.getFieldSchema().



> change default datatype when relations are used as scalar to bytearray
> ----------------------------------------------------------------------
>
>                 Key: PIG-1572
>                 URL: https://issues.apache.org/jira/browse/PIG-1572
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.8.0
>
>         Attachments: PIG-1572.1.patch, PIG-1572.2.patch
>
>
> When relations are cast to scalar, the current default type is chararray. 
> This is inconsistent with the behavior in rest of pig-latin.

-- 
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