[ 
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

        

Reply via email to