datafu-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eyal Allweil (JIRA)" <>
Subject [jira] [Updated] (DATAFU-117) New UDF - CountDistinctUpTo
Date Wed, 08 Jun 2016 13:49:21 GMT


Eyal Allweil updated DATAFU-117:
    Attachment: DATAFU-117-4.patch

This patch incorporates the last remaining comment from the review (clearing instead of reassigning
the set in cleanup)

> New UDF - CountDistinctUpTo
> ---------------------------
>                 Key: DATAFU-117
>                 URL:
>             Project: DataFu
>          Issue Type: New Feature
>            Reporter: Eyal Allweil
>            Assignee: Eyal Allweil
>         Attachments: DATAFU-117-2.patch, DATAFU-117-3.patch, DATAFU-117-4.patch, DATAFU-117.patch
> A UDF that counts distinct tuples within a bag, but only up to a preset limit. If the
bag contains more distinct tuples than the limit, the UDF returns the limit. 
> This UDF can run reasonably well even on large bags if the limit chosen is small enough
though the count is done in memory.
> We use this UDF in PayPal for filtering, when we don't need to use the actual tuples

This message was sent by Atlassian JIRA

View raw message