forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.0] fix: missing fields in range aggregation response for date fiel…
…ds (elastic#82732) (elastic#82755) When running a range aggregation on a date field both `fromAsStr` and `toAsStr` need to be parsed to extract the correct range boundaries. Not doing so results in +/- infinite values in `to`, `from`, `originalTo` and `originalFrom` which in turn result in: * incorrect key values (wildcard character used for infinite values); * missing fields in the response (to, from, to_as_string, from_as_string) due to checks for initite values in the serialization logic; * Update yaml test skip version after back-port from 8.1.0
- Loading branch information
1 parent
222cded
commit 12a0571
Showing
2 changed files
with
68 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters