Commit 4ebcca8
authored
Correctly deserialize Percentiles aggregate (#3724)
This commit correctly deserializes percentiles aggegations by closing
the object or array in which values are returned. In addition, percentile item values can be
nullable, so read as null or double and update PercentileItem to have nullable value.
Closes #37151 parent 2d6d3d2 commit 4ebcca8
File tree
3 files changed
+660
-3
lines changed- src
- Nest/Aggregations
- Metric/Percentiles
- Tests/Tests.Reproduce
3 files changed
+660
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
331 | 333 | | |
332 | 334 | | |
333 | 335 | | |
| |||
343 | 345 | | |
344 | 346 | | |
345 | 347 | | |
346 | | - | |
| 348 | + | |
347 | 349 | | |
348 | 350 | | |
349 | 351 | | |
| 352 | + | |
| 353 | + | |
350 | 354 | | |
351 | 355 | | |
352 | 356 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments