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

SQL: Use calendar_interval of 1d for HISTOGRAMs with 1 DAY intervals #52749

Merged
merged 3 commits into from
Feb 25, 2020

Conversation

astefan
Copy link
Contributor

@astefan astefan commented Feb 25, 2020

Addresses #52713.

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-search (:Search/SQL)

Copy link
Member

@costin costin left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@matriv matriv left a comment

Choose a reason for hiding this comment

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

LGTM. Maybe for completeness we could add unit test for the case of a function: https://github.com/elastic/elasticsearch/pull/52749/files#diff-4d4ca1fe9d2bf59cd1e9e61889fa691cR351
something like INTERVAL(date + INTERVAL 5 DAYS, INTERVAL 1 DAY).

@astefan astefan merged commit 556f5fa into elastic:master Feb 25, 2020
@astefan astefan deleted the 52713_impl branch February 25, 2020 15:33
astefan added a commit to astefan/elasticsearch that referenced this pull request Feb 25, 2020
astefan added a commit that referenced this pull request Feb 25, 2020
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

6 participants