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

Thejas M Nair commented on PIG-2005:
------------------------------------

+1

> 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
>
>         Attachments: PIG-2005_1.patch
>
>
> 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

Reply via email to