[
https://issues.apache.org/jira/browse/PIG-1046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12806591#action_12806591
]
Ashutosh Chauhan commented on PIG-1046:
---------------------------------------
Since algorithm specification is not arbitrary we should be using pre-defined
identifier. This is also in line with how we specify [ left | right | full |
outer] join. So, algorithm specification should look like:
j = join l1 by $0, l2 by $0 using SKEWED;
To remain backward compatible we will continue to support double quoted strings
as well.
> 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
>
>
> 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.