You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2008/04/08 00:57:25 UTC

[jira] Resolved: (PIG-190) Got ClassCastException when using BinaryStorage on the load statement

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

Olga Natkovich resolved PIG-190.
--------------------------------

    Resolution: Fixed

fixed with patch for PIG-182

> Got ClassCastException when using BinaryStorage on the load statement
> ---------------------------------------------------------------------
>
>                 Key: PIG-190
>                 URL: https://issues.apache.org/jira/browse/PIG-190
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Xu Zhang
>            Assignee: Arun C Murthy
>
> With the following Pig script, I got the exception below:
> {code}
> A = load '/user/xu/test/PigLoggingTest' using BinaryStorage() split by 'file';
> B = stream A through `BinaryReadWrite.pl -o f`;
> store B into 'results_38';
> {code}
> {noformat}
> 2008-04-04 21:34:08,619 [main] ERROR org.apache.pig.tools.grunt.Grunt - java.lang.ClassCastException: org.apache.pig.builtin.BinaryStorage
>         at org.apache.pig.builtin.PigStorage.equals(PigStorage.java:93)
>         at org.apache.pig.impl.logicalLayer.optimizer.streaming.LoadOptimizer.visitEval(LoadOptimizer.java:85)
>         at org.apache.pig.impl.logicalLayer.LOEval.visit(LOEval.java:98)
>         at org.apache.pig.impl.logicalLayer.LOVisitor.basicVisit(LOVisitor.java:115)
>         at org.apache.pig.impl.logicalLayer.LOVisitor.visitStore(LOVisitor.java:106)
>         at org.apache.pig.impl.logicalLayer.optimizer.streaming.LoadOptimizer.visitStore(LoadOptimizer.java:123)
>         at org.apache.pig.impl.logicalLayer.LOStore.visit(LOStore.java:121)
>         at org.apache.pig.impl.logicalLayer.optimizer.streaming.LoadOptimizer.optimize(LoadOptimizer.java:134)
>         at org.apache.pig.PigServer.optimizeAndRunQuery(PigServer.java:391)
>         at org.apache.pig.PigServer.registerQuery(PigServer.java:280)
>         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)
> 2008-04-04 21:34:08,621 [main] ERROR org.apache.pig.tools.grunt.Grunt - org.apache.pig.builtin.BinaryStorage
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.