Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-9963

Implement ds_kll_n() function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.0.0
    • Backend
    • None

    Description

      ds_kll_n() receives a serialized Apache DataSketches KLL sketch and returns how many values were fed into the sketch.
      Returns a bigint.

      Example:

      select ds_kll_n(ds_kll_sketch(cast(int_col as float))) from table_name;
      +------+
      | _c0  |
      +------+
      | 6    |
      +------+
      

      Attachments

        Activity

          People

            gaborkaszab Gabor Kaszab
            gaborkaszab Gabor Kaszab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: