pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1046) join algorithm specification is within double quotes
Date Mon, 01 Feb 2010 21:46:18 GMT

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

Ashutosh Chauhan commented on PIG-1046:

Alan suggested use of identifier or keywords should be taken up as a whole for the language
(instead of one clause like join at a time). Doing that is out of scope of this jira as well
as for 0.7 release. It will be taken up some point later in time. For now we will support
both single and double quoted strings for join algorithm specification and print deprecation
warning when user uses double-quoted strings.

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

View raw message