-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
[ES|QL] Support date_nanos field type #109352
Comments
Pinging @elastic/es-analytical-engine (Team:Analytics) |
Support for |
@wchaparro Could you clarify this
This could be a blocker for us since it would mean that we can not create a histogram in Discover. If we do as current aggregations truncate the date_nano to millisecond resolution before aggregating, then we would be able to e.g. show the histogram like today in non-ES|QL environments. cc @stratoula , @kertal , @davismcphee |
What do you mean Nino? |
@stratoula I talked to @kertal earlier today, and if we support the field type: |
The histogram is built using a count aggregation and the @timestamp field. I can't think why not supporting aggs in the |
@stratoula so when the @timestamp field is of type |
@nik9000 if the @timestamp is date_nanos this will work,right?
|
@stratoula I'm picking this up now that I'm back from PTO. I can tell you for a fact that the query you pasted doesn't work right now with date nanos, nor would I expect it to. Supporting that type of thing is exactly what we're talking about here. I've done some task breakdown for this already, and I'm going to flesh out this ticket (and create some sub-tickets) today. |
Oh good to know. So date_trunc doesn't work with date nanos? Thanx for looking into this! |
Pinging @elastic/kibana-esql (ES|QL-ui) |
Right now nothing works with |
This is also relevant for the OTel program as we're planning to map |
You know we don't give dates. We're working on it now though. |
We want to support this field type in ES|QL, ( for filtering / sorting etc) . Not intending to support aggregations on date_nanos (current aggregations truncate the date_nanos to millisecond resolution before aggregating.
Tasks before we can remove the feature flag
Additional work we may or may not need
The text was updated successfully, but these errors were encountered: