You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Stefan Groschupf (JIRA)" <ji...@apache.org> on 2008/02/28 08:07:51 UTC
[jira] Resolved: (PIG-3) Pig should not crash when it encounters an
unknown function during interactive use
[ https://issues.apache.org/jira/browse/PIG-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Groschupf resolved PIG-3.
--------------------------------
Resolution: Fixed
Ted, I think this was fixed with PIG-95. I tried with the latest svn revision and could not reproduce the problem. Please reopen with a detailed and up to date stack trace if this still occurs for you.
> Pig should not crash when it encounters an unknown function during interactive use
> ----------------------------------------------------------------------------------
>
> Key: PIG-3
> URL: https://issues.apache.org/jira/browse/PIG-3
> Project: Pig
> Issue Type: Bug
> Components: grunt
> Affects Versions: 0.0.0
> Environment: hadoop 13.1, hacked pig
> Reporter: Ted Dunning
> Fix For: 0.1.0
>
>
> I get this. The crash is unfortunate when all that happened is that I should have capitalized count.
> grunt> z = foreach y generate group, count(y);
> java.lang.RuntimeException: Function count not found.
> at com.yahoo.pig.impl.PigContext.getUDF(PigContext.java:155)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.EvalFunction(QueryParser.java:3135)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.FuncEvalItem(QueryParser.java:1915)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.BaseEvalItem(QueryParser.java:1811)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.UnaryExpr(QueryParser.java:1757)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.MultiplicativeExpr(QueryParser.java:1689)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.AdditiveExpr(QueryParser.java:1622)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.InfixExpr(QueryParser.java:1590)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.GenerateItem(QueryParser.java:1549)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.FlattenedGenerateItem(QueryParser.java:1495)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.FlattenedGenerateItemList(QueryParser.java:1440)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.GenerateStatement(QueryParser.java:1394)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.NestedBlock(QueryParser.java:1164)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.ForEachClause(QueryParser.java:1128)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.BaseExpr(QueryParser.java:411)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.Expr(QueryParser.java:253)
> at com.yahoo.pig.impl.logicalLayer.parser.QueryParser.Parse(QueryParser.java:177)
> at com.yahoo.pig.impl.logicalLayer.LogicalPlanBuilder.parse(LogicalPlanBuilder.java:31)
> at com.yahoo.pig.PigServer.registerQuery(PigServer.java:153)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.