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

Daniel Dai commented on PIG-3910:
---------------------------------

Dump is in grunt parser which cannot be included in Macro. This is part of 
PIG-2597 [~kyunghoj] is going to work for GSoC 2014.

> Cannot use DUMP command in macro
> --------------------------------
>
>                 Key: PIG-3910
>                 URL: https://issues.apache.org/jira/browse/PIG-3910
>             Project: Pig
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 0.10.0
>            Reporter: Ory
>
> When trying to use a 'DUMP' command inside Macros, I get a syntax error:
> ERROR 1200: <file /tmp/pig-plugin/Ory/1398254029560/ORY_macros.pig, line 27> 
> Failed to parse macro 'num_and_dump'. Reason: <file 
> /tmp/pig-plugin/Ory/1398254029560/ORY_macros.pig, line 3, column 0>  Syntax 
> error, unexpected symbol at or near 'DUMP'
> I have found one reference on the web to this being due to issues between 
> PigLatin parser and Grunt parser, but that was 2 years ago and I can find no 
> further information on this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to