[ https://issues.apache.org/jira/browse/PIG-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Olga Natkovich resolved PIG-742. -------------------------------- Resolution: Duplicate This is duplicate of PIG-19 > 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.