You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by da...@apache.org on 2011/08/22 21:13:43 UTC

svn commit: r1160374 - in /pig/trunk: CHANGES.txt src/docs/src/documentation/content/xdocs/cont.xml

Author: daijy
Date: Mon Aug 22 19:13:42 2011
New Revision: 1160374

URL: http://svn.apache.org/viewvc?rev=1160374&view=rev
Log:
PIG-2232: "declare" document contains a typo

Modified:
    pig/trunk/CHANGES.txt
    pig/trunk/src/docs/src/documentation/content/xdocs/cont.xml

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1160374&r1=1160373&r2=1160374&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Mon Aug 22 19:13:42 2011
@@ -114,6 +114,8 @@ PIG-2011: Speed up TestTypedMap.java (dv
 
 BUG FIXES
 
+PIG-2232: "declare" document contains a typo (daijy)
+
 PIG-2055: inconsistent behavior in parser generated during build (thejas)
 
 PIG-2185: NullPointerException while Accessing Empty Bag in FOREACH { FILTER } (daijy)

Modified: pig/trunk/src/docs/src/documentation/content/xdocs/cont.xml
URL: http://svn.apache.org/viewvc/pig/trunk/src/docs/src/documentation/content/xdocs/cont.xml?rev=1160374&r1=1160373&r2=1160374&view=diff
==============================================================================
--- pig/trunk/src/docs/src/documentation/content/xdocs/cont.xml (original)
+++ pig/trunk/src/docs/src/documentation/content/xdocs/cont.xml Mon Aug 22 19:13:42 2011
@@ -1413,7 +1413,7 @@ $ pig –param_file myparams script2.
    <title>Specifying Parameters Using the Declare Statement</title>
    <p>In this example the command is executed and its stdout is used as the parameter value.</p>
 <source>
-%declare CMD 'generate_date';
+%declare CMD `generate_date`;
 A = LOAD '/data/mydata/$CMD';
 B = FILTER A BY $0>'5';