You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2022/09/09 02:06:33 UTC

[GitHub] [druid] gianm opened a new pull request, #13061: Add ARRAY_QUANTILE function.

gianm opened a new pull request, #13061:
URL: https://github.com/apache/druid/pull/13061

   An exact quantile implementation, intended for usage when the number of data points is small. It works well in conjuction with `ARRAY_AGG`.
   
   Example:
   
   ```
   SELECT
     ARRAY_QUANTILE(ARRAY_AGG(x), 0.9)
   FROM (SELECT session, LATEST(session_length) len FROM kttm GROUP BY 1)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org


[GitHub] [druid] gianm merged pull request #13061: Add ARRAY_QUANTILE function.

Posted by GitBox <gi...@apache.org>.
gianm merged PR #13061:
URL: https://github.com/apache/druid/pull/13061


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org