pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-3) Pig should not crash when it encounters an unknown function during interactive use
Date Wed, 31 Oct 2007 16:53:51 GMT

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

Doug Cutting updated PIG-3:
---------------------------

    Component/s: grunt

> 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
>         Environment: hadoop 13.1, hacked pig
>            Reporter: Ted Dunning
>
> 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.


Mime
View raw message