[
https://issues.apache.org/jira/browse/PIG-2263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13101390#comment-13101390
]
Ashutosh Chauhan commented on PIG-2263:
---------------------------------------
Problem still persist even with the patch. In the script, query is well formed
syntactically, so technically its not a syntax exception and I will argue that
throwing parse exception here is an incorrect behavior. Query has a semantic
problem because the loader is not returning the valid schema, so this should
result in Semantic Exception from Pig and not parse exception as it is
happening currently.
> Different error messages in grunt mode and file mode
> ----------------------------------------------------
>
> Key: PIG-2263
> URL: https://issues.apache.org/jira/browse/PIG-2263
> Project: Pig
> Issue Type: Bug
> Components: parser
> Affects Versions: 0.9.0
> Reporter: Ashutosh Chauhan
> Attachments: PIG-2263-0.patch
>
>
> Since in grunt parsing happens statement by statement and in file, whole of
> the script is considered, its possible to have different error messages.
> Problem here is that in file mode, most important error message is gobbled up
> and is not printed either on stdout/stderr or in logfile. In 0.8 it was
> correctly getting printed at stderr.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira