hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-270) Show Line Number in Pig Error Messages
Date Thu, 17 Jul 2008 17:39:31 GMT

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

Daniel Dai commented on PIG-270:
--------------------------------

I do not manually count line number inside parser. Instead, SimpleCharStream class inside
GruntParser keeps track of the line number, we just need to access this information.

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


Mime
View raw message