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

Daniel Dai updated PIG-270:
---------------------------

    Attachment: linenum.patch

Patch using approach 2. Eventually I do not need to use a customized 
CharStream, I can feed the line number into SimpleCharStream in QueryParser. 
Only scripting mode is applicable and I do not feed line number in interactive 
mode.

> Show Line Number in Pig Error Messages
> --------------------------------------
>
>                 Key: PIG-270
>                 URL: https://issues.apache.org/jira/browse/PIG-270
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Amir Youssefi
>         Attachments: linenum.patch
>
>
> It will be a great help to users to show A) Line Number B) Actual Line in Pig 
> Error Messages. Currently user has to copy/paste script line by line in Grunt 
> to find out line that ran into a problem. For Grunt we can skip line number. 
> Alternatively, we can assign line numbers in Grunt and show it in command 
> prompt alongside "grunt>".  This could be a separate issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to