-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Simplify date histogram meta and apply interval scaling to all levels #95206
Simplify date histogram meta and apply interval scaling to all levels #95206
Conversation
…terval-bound-time-fields
…terval-bound-time-fields
Pinging @elastic/kibana-app-services (Team:AppServices) |
const defaultTimeFields = defaultTimeField ? [defaultTimeField] : []; | ||
const allTimeFields = | ||
this.aggConfigs.timeFields && this.aggConfigs.timeFields.length > 0 | ||
? this.aggConfigs.timeFields |
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.
will this contain the default one? or we don't want the default one if this was provided ?
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.
It overwrites the default one - this is the same logic as esaggs
uses for building the filter
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.
app services changes LGTM
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
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.
Looks like this keeps the current behavior on both Lens and Visualize, since Lens will provide timefields
but Visualize does not. LGTM
Fixes #95078
Fixes #93960
This PR does two things: