You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2011/05/16 18:17:47 UTC
[jira] [Updated] (PIG-2070) "Unknown" appears in error message for
an error case
[ https://issues.apache.org/jira/browse/PIG-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thejas M Nair updated PIG-2070:
-------------------------------
Attachment: PIG-2070.1.patch
PIG-2070.1.patch - test-patch and unit tests have passed with this patch. (except for one test that is currently failing in trunk as well).
> "Unknown" appears in error message for an error case
> ----------------------------------------------------
>
> Key: PIG-2070
> URL: https://issues.apache.org/jira/browse/PIG-2070
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Xuefu Zhang
> Assignee: Thejas M Nair
> Fix For: 0.9.0
>
> Attachments: PIG-2070.1.patch
>
>
> For the following query:
> a = load '1.txt' as (a0:int, a1:int);
> b = load '2.txt' as (a0:int, a1:chararray);
> c = cogroup a by (a0,a1), b by (a0,a1);
> Pig gives the following message, which includes "unknown" word.
> 2011-05-13 11:01:18,682 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1051:
> <line 3, column 4> Cannot cast to Unknown
> The error message should be more meaningful.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira