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

Implement ds_theta_exclude() function.

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.0.0
    • Backend, Frontend
    • None

    Description

      This function receives two strings that are serialized Apache DataSketches Theta sketches. Computes the a-not-b set operation given two sketches of same or different column.

      Example:

      select ds_theta_estimate(ds_theta_exclude(sketch1, sketch2)) from sketch_tbl;
      +-------------------------------------------------------+
      | ds_theta_estimate(ds_theta_exclude(sketch1, sketch2)) |
      +-------------------------------------------------------+
      | 5                                                     |
      +-------------------------------------------------------+
      

      Attachments

        Activity

          People

            chufucun Fucun Chu
            chufucun Fucun Chu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: