[
https://issues.apache.org/jira/browse/PIG-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614450#action_12614450
]
Olga Natkovich commented on PIG-270:
------------------------------------
Daniel, thanks for the detailed explanation.
I think I also like option 2 better. One comment is that we don't always now
what the line number is. I assume that you were just going to count parse
invokations, right? This really tells you the number of statements, not number
of lines in the file since you can have empty lines which are skipped and also
multi-line statements.
> 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.