1 Apr 2011 01:20
[Commented] (PIG-1931) Integrate Macro Expansion with New Parser
[
https://issues.apache.org/jira/browse/PIG-1931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13014274#comment-13014274
]
Xuefu Zhang commented on PIG-1931:
----------------------------------
+1 PIG-1931_4.patch looks good.
> Integrate Macro Expansion with New Parser
> -----------------------------------------
>
> Key: PIG-1931
> URL: https://issues.apache.org/jira/browse/PIG-1931
> Project: Pig
> Issue Type: Bug
> Components: impl
> Affects Versions: 0.9.0
> Reporter: Richard Ding
> Assignee: Richard Ding
> Fix For: 0.9.0
>
> Attachments: PIG-1931_1.patch, PIG-1931_2.patch, PIG-1931_3.patch, PIG-1931_4.patch
>
>
> Currently Macro expansion is implemented as a preprocessor (PIG-1793) so that it can work with the old
parser. Now the new parser replaced old parser in trunk and we can integrate macro expansion into the new
parser. This has many advantages such as better error reporting, less code and making Macro part of Pig Latin.
> To aid debugging, Pig command line option -r (dryrun) will produce a script with expanded macros (in
(Continue reading)
RSS Feed