egraldlo created SPARK-2049:
-------------------------------
Summary: avg function in aggregation may cause overflow
Key: SPARK-2049
URL: https://issues.apache.org/jira/browse/SPARK-2049
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 1.0.0
Reporter: egraldlohttps://github.com/apache/spark/pull/978 Avg of 2147483644 and 2147483646, this will cause overflow in the current implementation. Maybe this is a problem. -- This message was sent by Atlassian JIRA (v6.2#6252)
