spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-22448) Add functions like Mode(), NumNulls(), etc. in Summarizer
Date Sat, 21 Apr 2018 08:30:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-22448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16446688#comment-16446688
] 

Apache Spark commented on SPARK-22448:
--------------------------------------

User 'dedunumax' has created a pull request for this issue:
https://github.com/apache/spark/pull/21120

> Add functions like Mode(), NumNulls(), etc. in Summarizer
> ---------------------------------------------------------
>
>                 Key: SPARK-22448
>                 URL: https://issues.apache.org/jira/browse/SPARK-22448
>             Project: Spark
>          Issue Type: New Feature
>          Components: Optimizer
>    Affects Versions: 2.2.0
>            Reporter: Abdeali Kothari
>            Priority: Trivial
>
> Would be very useful to have a MODE() function in the Summary statistics currently supported
by DataSets.
> I can see that the Summarizer has many useful functions in 2.3.0 and it would be useful
to add the following to it:
>  - Mode - Element that occurs maximum number of times
>  - CSS - Cumulative Sum of Squares ... Sum((x - mean)^2)
>  - NumNull - The number of values that are NULL in the column
>  - SUM - Just the sum of the column ...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message