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] Resolved: (PIG-251) Incorrect message trying to store non-existent alias
Date Wed, 04 Jun 2008 21:13:45 GMT

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

Olga Natkovich resolved PIG-251.
--------------------------------

    Resolution: Fixed

Looks like this was an issues with earlier versions. With the latest code, I get the following
error:

grunt> store foo into 'bar';
08/06/04 14:11:56 ERROR grunt.GruntParser: java.io.IOException: Undefined alias: foo used
in STORE
        at org.apache.pig.PigServer.registerQuery(PigServer.java:278)
        at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:457)
        at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:233)
        at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:73)
        at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
        at org.apache.pig.Main.main(Main.java:270)
Caused by: org.apache.pig.impl.logicalLayer.parser.ParseException: Undefined alias: foo used
in STORE
        at org.apache.pig.impl.logicalLayer.parser.QueryParser.StoreClause(QueryParser.java:3554)
        at org.apache.pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:729)
        at org.apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java:512)
        at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:382)
        at org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:47)
        at org.apache.pig.PigServer.registerQuery(PigServer.java:275)
        ... 5 more

> Incorrect message trying to store non-existent alias
> ----------------------------------------------------
>
>                 Key: PIG-251
>                 URL: https://issues.apache.org/jira/browse/PIG-251
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Olga Natkovich
>
> the following script:  
> store foo into 'test';
> produces the error stack:
> java.lang.NullPointerException
>         at org.apache.pig.tools.grunt.Utils.getPermissionException(Utils.java:24)
>         at org.apache.pig.tools.grunt.GruntParser.parseContOnError(GruntParser.java:77)
>         at org.apache.pig.tools.grunt.Grunt.run(Grunt.java:54)
>         at org.apache.pig.Main.main(Main.java:253)

-- 
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