You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2011/05/13 20:05:47 UTC

[jira] [Created] (PIG-2070) "Unknown" appears in error message for an error case

"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


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

[jira] [Updated] (PIG-2070) "Unknown" appears in error message for an error case

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ 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

[jira] [Commented] (PIG-2070) "Unknown" appears in error message for an error case

Posted by "Richard Ding (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13034135#comment-13034135 ] 

Richard Ding commented on PIG-2070:
-----------------------------------

+1

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

[jira] [Resolved] (PIG-2070) "Unknown" appears in error message for an error case

Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thejas M Nair resolved PIG-2070.
--------------------------------

    Resolution: Fixed

Patch committed to trunk and 0.9 branch.


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