Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-16026 Cost-based Optimizer Framework
  3. SPARK-18000

Aggregation function for computing bins (distinct value, count) pairs for equi-width histograms

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1.0
    • None
    • SQL
    • 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

          Activity

            People

              Unassigned Unassigned
              ZenWzh Zhenhua Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: