Discrepancy in the way dry run handles semicolon in macro definition
--------------------------------------------------------------------
Key: PIG-2005
URL: https://issues.apache.org/jira/browse/PIG-2005
Project: Pig
Issue Type: Bug
Components: grunt
Affects Versions: 0.9.0
Reporter: Richard Ding
Assignee: Richard Ding
Fix For: 0.9.0
Macro definition requires a semicolon to mark the end. For example:
{code}
define mymacro(x) returns y {... ...};
{code}
But invoked through command line, the macro definitions without semicolon also
work except in the case of dryrun. This discrepancy is due to GruntParser
automatic appending a semicolon to Pig statements if semicolon is absent at the
end. Dryrun GruntParser should do the same.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira