You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:12:43 UTC
[jira] [Resolved] (SPARK-21423) MODE average aggregate function.
[ https://issues.apache.org/jira/browse/SPARK-21423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-21423.
----------------------------------
Resolution: Incomplete
> MODE average aggregate function.
> --------------------------------
>
> Key: SPARK-21423
> URL: https://issues.apache.org/jira/browse/SPARK-21423
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 2.2.0
> Reporter: Mathew Wicks
> Priority: Minor
> Labels: bulk-closed
>
> Having a MODE() aggregate function which returns the mode average of a group/window would be very useful.
> For example, if the column type is a number, it finds the most common number, and if the column type is a string, it finds the most common string.
> I appreciate that doing this in a scalable way will require some thinking/discussion.
--
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