[
https://issues.apache.org/jira/browse/PIG-4727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nathan Smith updated PIG-4727:
------------------------------
Attachment: PIG-4727.patch
> 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
> Attachments: PIG-4727.patch
>
>
> 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)