phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ethan Wang (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-3390) Custom UDAF for HyperLogLogPlus
Date Tue, 27 Jun 2017 05:19:01 GMT


Ethan Wang commented on PHOENIX-3390:

+1 for keeping syntax of PHOENIX-3390 and CALCITE-1588 similar. 

Thanks [~julianhyde] for the info. It's very reasonable to have {quote}COUNT(DISTINCT customerId)
rather than a dedicated {quote}APPROX_COUNT(){quote}
Since the approximation argument should be per query, rather than per projection. 

Currently, it seems to me CALCITE-1588 has not started yet, it will be reasonable for both
PHOENIX-3390 and CALCITE-1588 to follow this purposed design going forward.

> Custom UDAF for HyperLogLogPlus
> -------------------------------
>                 Key: PHOENIX-3390
>                 URL:
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Swapna Kasula
>            Assignee: Ethan Wang
>            Priority: Minor
> With ref # PHOENIX-2069
> Custome UDAF to aggregate/union of Hyperloglog's of a column and returns a Hyperloglog.
> select hllUnion(col1) from table;  //returns a Hyperloglog, which is the union of all
hyperloglog's from all rows for column 'col1'

This message was sent by Atlassian JIRA

View raw message