You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Vivek Padmanabhan (JIRA)" <ji...@apache.org> on 2011/08/29 10:29:38 UTC

[jira] [Created] (PIG-2250) Pig 0.9 error message not useful as compared to 0.8

Pig 0.9 error message not useful as compared to 0.8
---------------------------------------------------

                 Key: PIG-2250
                 URL: https://issues.apache.org/jira/browse/PIG-2250
             Project: Pig
          Issue Type: Bug
    Affects Versions: 0.9.0
            Reporter: Vivek Padmanabhan


Another instance of change in error message from 0.8 to 0.9 due to parser modifications.
This improper error message is due to \n in the UDF arguments.

The below is a sample script;

a = load 'input' using myLoader('a1,a2,
        a3,a4');
dump a;


Error Message from 0.9
----------------------
ERROR 1200: Pig script failed to parse: MismatchedTokenException(93!=3)


Error Message from 0.8
------------------------
 ERROR 1000: Error during parsing. Lexical error at line 1, column 40.  Encountered: "\n" (10), after : "\'a1,a2,"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (PIG-2250) Pig 0.9 error message not useful as compared to 0.8

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

Vivek Padmanabhan resolved PIG-2250.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.10

Verified this with trunk. Sorry for the trouble.

> Pig 0.9 error message not useful as compared to 0.8
> ---------------------------------------------------
>
>                 Key: PIG-2250
>                 URL: https://issues.apache.org/jira/browse/PIG-2250
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Vivek Padmanabhan
>             Fix For: 0.10
>
>
> Another instance of change in error message from 0.8 to 0.9 due to parser modifications.
> This improper error message is due to \n in the UDF arguments.
> The below is a sample script;
> a = load 'input' using myLoader('a1,a2,
>         a3,a4');
> dump a;
> Error Message from 0.9
> ----------------------
> ERROR 1200: Pig script failed to parse: MismatchedTokenException(93!=3)
> Error Message from 0.8
> ------------------------
>  ERROR 1000: Error during parsing. Lexical error at line 1, column 40.  Encountered: "\n" (10), after : "\'a1,a2,"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2250) Pig 0.9 error message not useful as compared to 0.8

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

Daniel Dai commented on PIG-2250:
---------------------------------

Seems it is fixed by PIG-2215 on trunk.

> Pig 0.9 error message not useful as compared to 0.8
> ---------------------------------------------------
>
>                 Key: PIG-2250
>                 URL: https://issues.apache.org/jira/browse/PIG-2250
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Vivek Padmanabhan
>
> Another instance of change in error message from 0.8 to 0.9 due to parser modifications.
> This improper error message is due to \n in the UDF arguments.
> The below is a sample script;
> a = load 'input' using myLoader('a1,a2,
>         a3,a4');
> dump a;
> Error Message from 0.9
> ----------------------
> ERROR 1200: Pig script failed to parse: MismatchedTokenException(93!=3)
> Error Message from 0.8
> ------------------------
>  ERROR 1000: Error during parsing. Lexical error at line 1, column 40.  Encountered: "\n" (10), after : "\'a1,a2,"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira