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.