[ 
https://issues.apache.org/jira/browse/PIG-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014111#comment-13014111
 ] 

Olga Natkovich commented on PIG-1947:
-------------------------------------

If this is not a regression and if fixing it as we move grunt to antlr would be 
significantly easier, I am ok delaying this till 10. However, if we can have a 
short term fix that is easy to implement, I would prefer that rout.

Main concern is that if users will get an impression that new parser is not any 
better or even worse while also dealing with inevitable new bugs, 0.9 release 
will not be very popular.

> Incorrect line number is reported during parsing
> ------------------------------------------------
>
>                 Key: PIG-1947
>                 URL: https://issues.apache.org/jira/browse/PIG-1947
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>             Fix For: 0.9.0
>
>
> In case of errors in script, Pig parser doesn't report correct the line 
> number always. For example:
> script:
> A = load 'x' as ( u:int, v:chararray );
> sh ls -l;
> B = foreach A generate u + v;
> store B into 'y';
> error reported:
> 2011-03-30 17:48:04,649 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 
> 1039: <file line.pig, line 2, column 25> (Name: Add Type: int Uid: 
> 7)incompatible types in Add Operator left hand side:Unknown right hand 
> side:Unknown
> Incorrect line number is also reported when a single line contains multiple 
> Pig statement, such as:
> A = load 'x' as( u:int, v:chararray); B = foreach A generate u + v;
> store B into 'y';

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

Reply via email to