-
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
A date field with date_nanos format can not be used as an index pattern time field. #40699
Comments
Probably related to #37211 Looking at the code, it looks like the index pattern creation wizard should prevent the date_nanos field being used as the time field. |
Pinging @elastic/kibana-app |
cc @kertal |
I've tried to reproduce the problem with you testdata without a problem. It's interesting that |
Isolated to this part of the Discover query:
|
Simplest test case, without Discover:
|
I could reproduce it, and also make it work by removing the
it's an Elasticsearch issue |
Possibly close this issue and follow: elastic/elasticsearch#39107 |
Closing this in favor of the upstream issue elastic/elasticsearch#39107 |
Kibana version: 8.0.0/master
Elasticsearch version: 8.0.0/master
Steps to reproduce:
Create an index that has a date_nanos field:
Create an index pattern for the index
date
shows as a time fieldIf you choose the
date_nanos
field as the time field, Discover will send erroneous queries to Elasticsearch.Error message:
The text was updated successfully, but these errors were encountered: