Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.1.0
-
None
-
None
Description
This function computes the count 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.
Attachments
Issue Links
- is part of
-
SPARK-17074 generate equi-height histogram for column
-
- Resolved
-
- links to