You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2011/03/18 02:18:29 UTC
[jira] Updated: (PIG-1623) Register syntax is ambiguous
[ https://issues.apache.org/jira/browse/PIG-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich updated PIG-1623:
--------------------------------
Fix Version/s: (was: 0.9.0)
0.10
> Register syntax is ambiguous
> ----------------------------
>
> Key: PIG-1623
> URL: https://issues.apache.org/jira/browse/PIG-1623
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.7.0
> Reporter: Alan Gates
> Assignee: Xuefu Zhang
> Priority: Minor
> Fix For: 0.10
>
>
> All of the following register statements parse
> {code}
> register /Users/gates/tmp/pig-0.7/pig-0.7.0/./contrib/piggybank/java/piggybank.jar
> register '/Users/gates/tmp/pig-0.7/pig-0.7.0/./contrib/piggybank/java/piggybank.jar'
> register '/Users/gates/tmp/pig-0.7/pig-0.7.0/./contrib/piggybank/java/piggybank.jar';
> {code}
> As far as I know register is the only Pig Latin command that does not require a semicolon at the end. It is also the only command that allows unquoted strings for file paths. We should align this with other similar syntax in Pig Latin.
> I order to avoid breaking existing scripts we may need to warn about this behavior for a while before no longer supporting it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira