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

Zhenhua Wang updated SPARK-18000:
---------------------------------
    Description: 
This function Computes frequency for each distinct non-null value of a column.
It returns:
1. null if the table is empty or all values of the column are null.
2. (distinct non-null value, frequency) pairs if the number of distinct 
non-null values is less than or equal to the specified threshold.
3. an empty result if the number of distinct non-null values exceeds that 
threshold.

  was:
The MapAggregate function Computes frequency for each distinct non-null value 
of a column.
It returns: 1. null if the table is empty or all values of the column are null.
2. (distinct non-null value, frequency) pairs if the number of distinct 
non-null values is
less than or equal to the specified threshold.
3. an empty result if the number of distinct non-null values exceeds that 
threshold.


> Aggregation function for computing endpoints for histograms
> -----------------------------------------------------------
>
>                 Key: SPARK-18000
>                 URL: https://issues.apache.org/jira/browse/SPARK-18000
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.1.0
>            Reporter: Zhenhua Wang
>
> This function Computes frequency for each distinct non-null value of a column.
> It returns:
> 1. null if the table is empty or all values of the column are null.
> 2. (distinct non-null value, frequency) pairs if the number of distinct 
> non-null values is less than or equal to the specified threshold.
> 3. an empty result if the number of distinct non-null values exceeds that 
> threshold.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to