-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Save memory when date_histogram is not on top #56921
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
Conversation
When `date_histogram` is a sub-aggregator it used to allocate a bunch of objects for every one of it's parent's buckets. This uses the data structures that we built in elastic#55873 rework the `date_histogram` aggregator instead of all of the allocation. Part of elastic#56487
Pinging @elastic/es-analytics-geo (:Analytics/Aggregations) |
Unlike when I did this for |
Thanks @polyfractal ! |
When `date_histogram` is a sub-aggregator it used to allocate a bunch of objects for every one of it's parent's buckets. This uses the data structures that we built in elastic#55873 rework the `date_histogram` aggregator instead of all of the allocation. Part of elastic#56487
Thanks @talevy ! |
When
date_histogram
is a sub-aggregator it used to allocate a bunch ofobjects for every one of it's parent's buckets. This uses the data
structures that we built in #55873 rework the
date_histogram
aggregator instead of all of the allocation.
Part of #56487.