You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2015/05/17 10:54:59 UTC

[jira] [Updated] (SPARK-7687) DataFrame.describe() should cast all aggregates to doubles

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

Josh Rosen updated SPARK-7687:
------------------------------
    Summary: DataFrame.describe() should cast all aggregates to doubles  (was: DataFrame.describe should cast all aggregates to doubles)

> DataFrame.describe() should cast all aggregates to doubles
> ----------------------------------------------------------
>
>                 Key: SPARK-7687
>                 URL: https://issues.apache.org/jira/browse/SPARK-7687
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.3.1
>            Reporter: Josh Rosen
>            Assignee: Josh Rosen
>
> In DataFrame.describe, the Count aggregate outputs an integer, but all other aggregates produce doubles.  Because the output schema of describe is declared as (String, Double, Double, Double, ..., Double), we should cast the result of all aggregates to double.



--
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