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

Olga Natkovich commented on PIG-1046:
-------------------------------------

The changes look good. One thing that was missed for both group and join is 
that the string after using is one of the strings that we recognize and give an 
error otherwise.

> join algorithm specification is within double quotes
> ----------------------------------------------------
>
>                 Key: PIG-1046
>                 URL: https://issues.apache.org/jira/browse/PIG-1046
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Thejas M Nair
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.7.0
>
>         Attachments: pig-1046.patch, pig-1046_1.patch, pig-1046_2.patch
>
>
> This fails -
> j = join l1 by $0, l2 by $0 using 'skewed';
> This works -
> j = join l1 by $0, l2 by $0 using "skewed";
> String constants are single-quoted in pig-latin. If the algorithm 
> specification is supposed to be a string, specifying it within single quotes 
> should be supported.
> Alternatively, we should be using identifiers here, since these are 
> pre-defined in pig users will not be specifying arbitrary values that might 
> not be valid identifier. 

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