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 2014/02/10 07:41:37 UTC

svn commit: r1566520 - /pig/branches/branch-0.12/src/docs/src/documentation/content/xdocs/basic.xml

Author: daijy
Date: Mon Feb 10 06:41:37 2014
New Revision: 1566520

URL: http://svn.apache.org/r1566520
Log:
PIG-3483: Document ASSERT keyword

Modified:
    pig/branches/branch-0.12/src/docs/src/documentation/content/xdocs/basic.xml

Modified: pig/branches/branch-0.12/src/docs/src/documentation/content/xdocs/basic.xml
URL: http://svn.apache.org/viewvc/pig/branches/branch-0.12/src/docs/src/documentation/content/xdocs/basic.xml?rev=1566520&r1=1566519&r2=1566520&view=diff
==============================================================================
--- pig/branches/branch-0.12/src/docs/src/documentation/content/xdocs/basic.xml (original)
+++ pig/branches/branch-0.12/src/docs/src/documentation/content/xdocs/basic.xml Mon Feb 10 06:41:37 2014
@@ -5655,7 +5655,7 @@ B = FOREACH A GENERATE -x, y;
    <table>
        <tr>
             <td>
-               <p>ASSERT alias BY expression [message];</p>
+               <p>ASSERT alias BY expression [, message];</p>
             </td>
         </tr>
    </table>
@@ -5721,7 +5721,7 @@ DUMP A;
 
 <p>Now, you can assert that a0 column in your data is >0, fail if otherwise</p>
 <source>
-ASSERT A by a0 > 0 'a0 should be greater than 0';
+ASSERT A by a0 > 0, 'a0 should be greater than 0';
 </source>
 
 </section></section>