hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1626) Need to clarify how COUNT handles nulls
Date Fri, 17 Sep 2010 19:47:33 GMT
Need to clarify how COUNT handles nulls
---------------------------------------

                 Key: PIG-1626
                 URL: https://issues.apache.org/jira/browse/PIG-1626
             Project: Pig
          Issue Type: Bug
          Components: documentation
            Reporter: Olga Natkovich
            Assignee: Corinne Chandel
             Fix For: 0.8.0


The current documentation just states: "The COUNT function ignores NULL values. If you want
to include NULL values in the count computation, use COUNT_STAR. "

The new text should be something like

"The COUNT function follows syntax semantics and ignores nulls. What this means is that a
tuple in the bag will not be counted if the first field in this tuple is NULL. If you want
to include NULL values in the count computation, use COUNT_STAR. "


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message