[ 
https://issues.apache.org/jira/browse/PHOENIX-3390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15598645#comment-15598645
 ] 

James Taylor commented on PHOENIX-3390:
---------------------------------------

The way I think this could be more generally exposed is through a new set of 
approximate aggregate functions like APPROX_COUNT, APPROX_SUM, etc. You 
wouldn't want to quote column names either - that wouldn't be very natural and 
you'd lose the type checking ability that's important in SQL.

> Custom UDAF for HyperLogLogPlus
> -------------------------------
>
>                 Key: PHOENIX-3390
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3390
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Swapna Kasula
>            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
(v6.3.4#6332)

Reply via email to