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

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

This patch also expands project-star and project-range expression within udf, 
in the query plan generation phase. The expanded argument schema for the udf 
gets used in typechecker. Earlier, there was an inconsistency in the behavior 
when project-star was used in the udf, the typechecker would see the udf having 
a single argument of type tuple,  but at runtime the udf would get multiple 
arguments.
This inconsistency has not been resolved for the case when schema of input 
relation is null. I will open another jira to address that.


> support project-range as udf argument
> -------------------------------------
>
>                 Key: PIG-1938
>                 URL: https://issues.apache.org/jira/browse/PIG-1938
>             Project: Pig
>          Issue Type: Improvement
>    Affects Versions: 0.9.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>             Fix For: 0.9.0
>
>         Attachments: PIG-1938.1.patch
>
>
> With changes in PIG-1693, project-range ('..') is supported in all use cases 
> where '*' (project-star) is supported, except as udf argument. 
> To be consistent with usage of project-star, project-range should be 
> supported as udf argument as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to