[ 
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.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
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to