Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual Column Aggregations #34

Open
winsmith opened this issue Feb 7, 2024 · 0 comments
Open

Virtual Column Aggregations #34

winsmith opened this issue Feb 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@winsmith
Copy link
Contributor

winsmith commented Feb 7, 2024

We want to be able to support things like multiplication of count with the float value, but an arithmetic post aggregator can only multiply things after they've already been summed up. As far as I can tell, we'd need to support Druid's virtual column feature for this to work.

Example SQL query:

SELECT
  feature,
  SUM(count * floatValue) AS computed_value_sum
FROM "telemetry-signals"
WHERE appID=myAppId
GROUP BY feature;
@winsmith winsmith added the enhancement New feature or request label Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant