Nathan Smith created PIG-4727:
---------------------------------

             Summary: Incorrect types table for AVG in docs
                 Key: PIG-4727
                 URL: https://issues.apache.org/jira/browse/PIG-4727
             Project: Pig
          Issue Type: Bug
          Components: documentation
    Affects Versions: 0.15.0
            Reporter: Nathan Smith
            Priority: Trivial


The docs for AVG state that AVG for int & long produces a long, but the source 
for those classes actually produce a double.

* https://github.com/apache/pig/blob/trunk/src/org/apache/pig/builtin/AVG.java
* 
https://github.com/apache/pig/blob/trunk/src/org/apache/pig/builtin/LongAvg.java
* 
https://github.com/apache/pig/blob/trunk/src/org/apache/pig/builtin/IntAvg.java 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to