-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Date field mapping "epoch_millis" errors on date aggregations with timezones other than UTC #31392
Copy link
Copy link
Closed
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>bugTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchv6.4.0v7.0.0-beta1
Description
As demonstrated in elastic/kibana#19858, having a date field with "format": "epoch_millis" can cause
errors when running date histogram aggregations with a time zone other than UTC. I think this problem was introduced as a side effect of #30534. While throwing an error for parsing time values with "format": "epoch_millis" and timezones other than UTC looks like the intented behaviour (see #22621), it should be able to overwrite this by specifying format in the aggregation. This however doesn't seem to work currently on 6.x.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Search Foundations/MappingIndex mappings, including merging and defining field typesIndex mappings, including merging and defining field types>bugTeam:Search FoundationsMeta label for the Search Foundations team in ElasticsearchMeta label for the Search Foundations team in Elasticsearchv6.4.0v7.0.0-beta1
Type
Fields
Give feedbackNo fields configured for issues without a type.