-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Conversation
Pinging @elastic/es-search (:Search/SQL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this 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)
.
…lastic#52749) (cherry picked from commit 556f5fa)
Addresses #52713.