phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapna Kasula (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-2069) Support custom aggregate UDFs
Date Sun, 31 Jan 2016 03:23:39 GMT


Swapna Kasula commented on PHOENIX-2069:

Requirement Details:

Similar to aggregate functions we have like :SUM, COUNT, we need to have a feature for custom
aggregate functions to be called in queries, which facilitates to implement any custom aggregation
logic as per the need.

ex: Select customagg(column) from table where date>= 10152015 and date<10172015 group
by date;

customagg - is a custom aggregated function

This can be an extension to custom UDF.

> Support custom aggregate UDFs
> -----------------------------
>                 Key: PHOENIX-2069
>                 URL:
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: James Taylor
>            Assignee: Rajeshbabu Chintaguntla
>              Labels: YARN-TLS
> We should build on our existing feature of custom UDFs to support custom aggregate functions.
We could drive the requirements initially from a YARN use case to allow them to plugin a custom
aggregator that would just be passed the Tuple (i.e. List<Cell> for each row scanned)
plus a context object. The custom code code then do whatever aggregation is required and we'd
have a hook to serialize back out the per scan aggregation.

This message was sent by Atlassian JIRA

View raw message