Commit 43ba33e
authored
Block centroid tests in mixed clusters with 8.15 (elastic#138506)
In 8.16 there was an important fix to the rule for planning doc-values
reading of spatial fields for aggregations. This fix did not go back to
8.15 and 8.14, and so any later version that has a mixed cluster with
these older versions cannot run queries that perform spatial
aggregations when the field does not have doc values. The newer versions
will correctly block the doc-values loading, but the older version will
still attempt to do this, causing a mismatch of block type, as seen in
the issue at elastic#116945 and elastic#137334
The choice of `spatial_distance_pushdown_enhancements` is not an exact
match for the change that fixed this issue, but the goal here is
primarily to block tests in 8.14 and 8.15, and this capability was
introduced in 8.16, and is conceptually related to the change that
actually fixed this in 8.16.
The actual fix for 8.15 can be seen in
elastic#138437, but that will
never get merged, because no further 8.15 releases will be made.
Fixes elastic#116945 Fixes elastic#1373341 parent a127a75 commit 43ba33e
File tree
1 file changed
+3
-0
lines changed- x-pack/plugin/esql/qa/testFixtures/src/main/resources
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| 553 | + | |
553 | 554 | | |
554 | 555 | | |
555 | 556 | | |
| |||
562 | 563 | | |
563 | 564 | | |
564 | 565 | | |
| 566 | + | |
565 | 567 | | |
566 | 568 | | |
567 | 569 | | |
| |||
574 | 576 | | |
575 | 577 | | |
576 | 578 | | |
| 579 | + | |
577 | 580 | | |
578 | 581 | | |
579 | 582 | | |
| |||
0 commit comments