You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2015/02/16 21:47:23 UTC

[jira] [Updated] (SPARK-5680) Sum function on all null values, should return zero

     [ https://issues.apache.org/jira/browse/SPARK-5680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Armbrust updated SPARK-5680:
------------------------------------
    Target Version/s: 1.4.0  (was: 1.3.0)

> Sum function on all null values, should return zero
> ---------------------------------------------------
>
>                 Key: SPARK-5680
>                 URL: https://issues.apache.org/jira/browse/SPARK-5680
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Venkata Ramana G
>            Priority: Minor
>
> SELECT  sum('a'),  avg('a'),  variance('a'),  std('a') FROM src;
> Current output:
> NULL	NULL	NULL	NULL
> Expected output:
> 0.0	NULL	NULL	NULL
> This fixes hive udaf_number_format.q 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org