You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "tijoparacka (via GitHub)" <gi...@apache.org> on 2023/01/23 03:44:54 UTC
[GitHub] [druid] tijoparacka opened a new issue, #13703: Support Post aggregation function pow(f1,f2) to cater for square, cube , square root.
tijoparacka opened a new issue, #13703:
URL: https://github.com/apache/druid/issues/13703
### Description
Please describe the feature or change with as much detail as possible.
As of now the only supported arithmetic functions are +, -, *, /, and quotient.
https://druid.apache.org/docs/latest/querying/post-aggregations.html#arithmetic-post-aggregator.
The request is to add an additional function to support square, cube , squre root..etc. This can be achived by adding the power of function equivalent to Math.pow()
The proposal is to add a `pow` function which enables all the about usecase . Square of a number can be represent by pow(f1,2) , Cube can be represented as power(f1 ,3) , Squar root of a number can be represented by power(f1,0.5) ,
--
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.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] abhishekagarwal87 closed issue #13703: Support Post aggregation function pow(f1,f2) to cater for square, cube , square root.
Posted by "abhishekagarwal87 (via GitHub)" <gi...@apache.org>.
abhishekagarwal87 closed issue #13703: Support Post aggregation function pow(f1,f2) to cater for square, cube , square root.
URL: https://github.com/apache/druid/issues/13703
--
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