You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2010/02/01 16:52:57 UTC

[jira] Commented: (PIG-1046) join algorithm specification is within double quotes

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

Alan Gates commented on PIG-1046:
---------------------------------

-1.  The original intent of the JIRA was to move from double quotes to single, to match the rest of string usage in the language.  Further discussion is needed if we want to move these to identifiers instead.

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