hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Updated: (PIG-144) The error message should be more meaningful when there is a typo in PIg script
Date Fri, 09 Jul 2010 17:55:50 GMT

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

Olga Natkovich updated PIG-144:
-------------------------------

    Fix Version/s: 0.9.0

Quality of error messages should be addressed as part of parser change

> The error message should be more meaningful when there is a typo in PIg script
> ------------------------------------------------------------------------------
>
>                 Key: PIG-144
>                 URL: https://issues.apache.org/jira/browse/PIG-144
>             Project: Pig
>          Issue Type: Bug
>            Reporter: Xu Zhang
>            Priority: Minor
>             Fix For: 0.9.0
>
>
> When I ran the following Pig script on the command line {{"pig -c mycluster myscript.pig"}},
I got the error: 
> 2008-03-07 16:31:45,992 [main] ERROR org.apache.pig.tools.grunt.Grunt -
>   
> {code}
> A = load '/user/pig/tests/data/singlefile/fileexists';
> B = foreach A generate $2, $1, $0;
> C = strean B through `awk '{print $3 " " $4 "\t" $2 "\t" $1}'`;
> store C into '/user/pig/tests/data/singlefile/results1';
> {code}
> The error message is not quite meaningful, and it took me a while to find out what was
wrong - the word "strean" should have been "stream".

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