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] Resolved: (PIG-193) NullPointerException if storing a non-existing alias
Date Mon, 07 Apr 2008 22:57:25 GMT

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

Olga Natkovich resolved PIG-193.
--------------------------------

    Resolution: Fixed

Fixed with patch to PIG-182

> NullPointerException if storing a non-existing alias
> ----------------------------------------------------
>
>                 Key: PIG-193
>                 URL: https://issues.apache.org/jira/browse/PIG-193
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Xu Zhang
>            Assignee: Arun C Murthy
>
> If a non-existing alias (such as E in the following example script) is stored, a NullPointerException
is generated.
> {code}
> A = load '../../singlefile/studenttab10k' as (name, age, gpa);
> store E into 'results_n_30';
> {code}
> {noformat}
> 2008-04-04 22:41:12,686 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.lang.NullPointerException
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.StoreClause(QueryParser.java:3523)
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:706)
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java:489)
>         at org.apache.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:359)
>         at org.apache.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:47)
>         at org.apache.pig.PigServer.registerQuery(PigServer.java:262)
>         at org.apache.pig.tools.grunt.GruntParser.processPig(GruntParser.java:446)
>         at org.apache.pig.tools.pigscript.parser.PigScriptParser.parse(PigScriptParser.java:226)
>         at org.apache.pig.tools.grunt.GruntParser.parseStopOnError(GruntParser.java:62)
>         at org.apache.pig.tools.grunt.Grunt.exec(Grunt.java:60)
>         at org.apache.pig.Main.main(Main.java:265)
> {noformat}

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