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

Implement ds_theta_intersect_f() function

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Impala 4.0.0
    • Component/s: Backend, Frontend
    • Labels:
      None

      Description

      This function receives two strings that are serialized Apache DataSketches Theta sketches. Computes the intersection of two sketches of same or different column and returns the resulting sketch of intersection.

      Example:

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: