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

Begin moving date_histogram to offset rounding (take two) #51271

Merged
merged 6 commits into from Jan 27, 2020

Conversation

nik9000
Copy link
Member

@nik9000 nik9000 commented Jan 21, 2020

We added a new rounding in #50609 that handles offsets to the start and
end of the rounding so that we could support offset in the composite
aggregation. This starts moving date_histogram to that new offset.

This is a redo of #50873 with more integration tests.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (:Analytics/Aggregations)

@nik9000 nik9000 changed the title Offset rounding date histogram 3 Begin moving date_histogram to offset rounding (take two) Jan 21, 2020
Copy link
Member

@not-napoleon not-napoleon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@nik9000 nik9000 merged commit 0483f7c into elastic:master Jan 27, 2020
nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Jan 27, 2020
)

We added a new rounding in elastic#50609 that handles offsets to the start and
end of the rounding so that we could support `offset` in the `composite`
aggregation. This starts moving `date_histogram` to that new offset.

This is a redo of elastic#50873 with more integration tests.

This reverts commit d114c9d.
nik9000 added a commit that referenced this pull request Jan 27, 2020
…51495)

We added a new rounding in #50609 that handles offsets to the start and
end of the rounding so that we could support `offset` in the `composite`
aggregation. This starts moving `date_histogram` to that new offset.

This is a redo of #50873 with more integration tests.

This reverts commit d114c9d.
nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Mar 16, 2020
I broke sorting aggregations by `doc_count` in elastic#51271 by mixing up true
and false. This flips that comparison and adds a few tests to double
check that we don't so this again.
nik9000 added a commit that referenced this pull request Mar 16, 2020
I broke sorting aggregations by `doc_count` in #51271 by mixing up true
and false. This flips that comparison and adds a few tests to double
check that we don't so this again.
nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Mar 16, 2020
I broke sorting aggregations by `doc_count` in elastic#51271 by mixing up true
and false. This flips that comparison and adds a few tests to double
check that we don't so this again.
nik9000 added a commit that referenced this pull request Mar 16, 2020
I broke sorting aggregations by `doc_count` in #51271 by mixing up true
and false. This flips that comparison and adds a few tests to double
check that we don't so this again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants