pig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billgra...@apache.org
Subject svn commit: r1391147 - in /pig/trunk: CHANGES.txt src/docs/src/documentation/content/xdocs/func.xml
Date Thu, 27 Sep 2012 18:08:39 GMT
Author: billgraham
Date: Thu Sep 27 18:08:38 2012
New Revision: 1391147

URL: http://svn.apache.org/viewvc?rev=1391147&view=rev
Log:
PIG-2929: Improve documentation around AVG, CONCAT, MIN, MAX (cheolsoo via billgraham)

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

Modified: pig/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/pig/trunk/CHANGES.txt?rev=1391147&r1=1391146&r2=1391147&view=diff
==============================================================================
--- pig/trunk/CHANGES.txt (original)
+++ pig/trunk/CHANGES.txt Thu Sep 27 18:08:38 2012
@@ -25,6 +25,8 @@ PIG-1891 Enable StoreFunc to make intell
 
 IMPROVEMENTS
 
+PIG-2929: Improve documentation around AVG, CONCAT, MIN, MAX (cheolsoo via billgraham)
+
 PIG-2852: Update documentation regarding parallel local mode execution (cheolsoo via jcoveney)
 
 PIG-2879: Pig current releases lack a UDF startsWith.This UDF tests if a given string starts
with the specified prefix. (initialcontext via azaroth)

Modified: pig/trunk/src/docs/src/documentation/content/xdocs/func.xml
URL: http://svn.apache.org/viewvc/pig/trunk/src/docs/src/documentation/content/xdocs/func.xml?rev=1391147&r1=1391146&r2=1391147&view=diff
==============================================================================
--- pig/trunk/src/docs/src/documentation/content/xdocs/func.xml (original)
+++ pig/trunk/src/docs/src/documentation/content/xdocs/func.xml Thu Sep 27 18:08:38 2012
@@ -97,7 +97,7 @@ decoded_strings = FOREACH encoded_string
    <title>Usage</title>
    <p>Use the AVG function to compute the average of the numeric values in a single-column
bag. 
    AVG requires a preceding GROUP ALL statement for global averages and a GROUP BY statement
for group averages.</p>
-   <p>The AVG function now ignores NULL values. </p>      
+   <p>The AVG function ignores NULL values. </p>      
    </section>
    
    <section>
@@ -215,6 +215,7 @@ DUMP C;
    <section>
    <title>Usage</title>
    <p>Use the CONCAT function to concatenate two expressions. The result values of
the two expressions must have identical types.</p>
+   <p>If either subexpression is null, the resulting expression is null.</p>
    </section>
 
    
@@ -560,7 +561,9 @@ Y = filter X by IsEmpty(SSN_NAME);
    
    <section>
    <title>Usage</title>
-   <p>Use the MAX function to compute the maximum of the numeric values or chararrays
in a single-column bag.</p></section>
+   <p>Use the MAX function to compute the maximum of the numeric values or chararrays
in a single-column bag.</p>
+   <p>The MAX function ignores NULL values.</p>
+   </section>
    
    <section>
    <title>Example</title>
@@ -676,7 +679,9 @@ DUMP X;
    <section>
    
    <title>Usage</title>
-   <p>Use the MIN function to compute the minimum of a set of numeric values or chararrays
in a single-column bag.</p></section>
+   <p>Use the MIN function to compute the minimum of a set of numeric values or chararrays
in a single-column bag.</p>
+   <p>The MIN function ignores NULL values.</p> 
+   </section>
    
    <section>
    <title>Example</title>
@@ -793,6 +798,7 @@ DUMP X;
    <title>Usage</title>
    <p>Use the SIZE function to compute the number of elements based on the data type
(see the Types Tables below). 
    SIZE includes NULL values in the size computation. SIZE is not algebraic.</p>
+   <p>If the tested object is null, the SIZE function returns null.</p>
    </section>
    
    <section>
@@ -921,7 +927,9 @@ DUMP X;
    
    <section>
    <title>Usage</title>
-   <p>Use the SUM function to compute the sum of a set of numeric values in a single-column
bag.</p></section>
+   <p>Use the SUM function to compute the sum of a set of numeric values in a single-column
bag.</p>
+   <p>The SUM function ignores NULL values.</p> 
+   </section>
    
    <section>
    <title>Example</title>



Mime
View raw message