Commit 771b658
committed
Drop empty _source excludes from top_hits test fixtures
OpenSearch 3.7's FetchSourceContext no longer emits "excludes":[] when
empty. Update the two top_hits assertions in MetricAggregationBuilderTest
to match the new serialization.
Signed-off-by: Kai Huang <ahkcs@amazon.com>1 parent bffe5b2 commit 771b658
1 file changed
Lines changed: 2 additions & 4 deletions
File tree
- opensearch/src/test/java/org/opensearch/sql/opensearch/storage/script/aggregation/dsl
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
| 413 | + | |
415 | 414 | | |
416 | 415 | | |
417 | 416 | | |
| |||
450 | 449 | | |
451 | 450 | | |
452 | 451 | | |
453 | | - | |
454 | | - | |
| 452 | + | |
455 | 453 | | |
456 | 454 | | |
457 | 455 | | |
| |||
0 commit comments