hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-742) Spaces could be optional in Pig syntax
Date Wed, 24 Jun 2009 19:48:07 GMT

     [ https://issues.apache.org/jira/browse/PIG-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olga Natkovich updated PIG-742:
-------------------------------

    Affects Version/s:     (was: 0.1.0)
                       0.3.0
        Fix Version/s:     (was: 0.1.0)

> Spaces could be optional in Pig syntax
> --------------------------------------
>
>                 Key: PIG-742
>                 URL: https://issues.apache.org/jira/browse/PIG-742
>             Project: Pig
>          Issue Type: Wish
>          Components: grunt
>    Affects Versions: 0.3.0
>            Reporter: Viraj Bhat
>            Priority: Minor
>
> The following Pig statements generate an error if there is no space between A  and "="
> {code}
> A=load 'quf.txt' using PigStorage() as (q, u, f:long);
> B = group A by (q);
> C = foreach B {
>         F = order A by f desc;
>         generate F;
> };
> describe C;
> dump C;
> {code}
> 2009-03-31 17:14:15,959 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1000: Error
during parsing. Encountered
> " <PATH> "A=load "" at line 1, column 1.
> Was expecting one of:
>     <EOF> 
>     "cat" ...
>     "cd" ...
>     "cp" ...
>     "copyFromLocal" ...
>     "copyToLocal" ...
>     "dump" ...
>     "describe" ...
>     "aliases" ...
>     "explain" ...
>     "help" ...
>     "kill" ...
>     "ls" ...
>     "mv" ...
>     "mkdir" ...
>     "pwd" ...
>     "quit" ...
>     "register" ...
>     "rm" ...
>     "rmf" ...
>     "set" ...
>     "illustrate" ...
>     "run" ...
>     "exec" ...
>     "scriptDone" ...
>     "" ...
>     <EOL> ...
>     ";" ...
> It would be nice if the parser would not expect these space requirements between an alias
and "="

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message