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

Optimize filters shared by multiple FilteredAggregators #4267

Closed
jon-wei opened this issue May 12, 2017 · 2 comments
Closed

Optimize filters shared by multiple FilteredAggregators #4267

jon-wei opened this issue May 12, 2017 · 2 comments

Comments

@jon-wei
Copy link
Contributor

jon-wei commented May 12, 2017

Consider a hypothetical datasource with a dimension called "event_type" and various metrics (let's say 25 metrics).

Suppose a user runs a query on this datasource with a large number of filtered aggregators, two for each metric.

Half of these filtered aggregators share a filter on event_type = "A" and the other half share a filter on event_type = "B".

Because there is more than one filter condition, the filter cannot be pushed up to the query itself.

It could be a useful optimization if Druid can detect when filters are identical across multiple filtered aggregators and only apply these filters once per row, instead of once per aggregator.

@stale
Copy link

stale bot commented Jun 21, 2019

This issue has been marked as stale due to 280 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions.

@stale
Copy link

stale bot commented Jul 5, 2019

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

@stale stale bot closed this as completed Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant