Skip to content

Commit 898d1ba

Browse files
committed
Added capability to block mixed-cluster tests which fail
1 parent f7f9403 commit 898d1ba

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/resources/spatial.csv-spec

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ BBOX (-0.6067969836294651, 6.621946580708027, 36.69972063973546, 35.620274716056
572572

573573
stExtentGeoShapes
574574
required_capability: st_extent_agg
575+
required_capability: st_extent_agg_docvalues
575576

576577
FROM airport_city_boundaries
577578
| WHERE region == "City of New York"
@@ -584,6 +585,7 @@ BBOX (-74.25880000926554, -73.70020005851984, 40.91759996954352, 40.476599964313
584585

585586
stExtentGeoPoints
586587
required_capability: st_extent_agg
588+
required_capability: st_extent_agg_docvalues
587589

588590
FROM airport_city_boundaries
589591
| WHERE region == "City of New York"
@@ -596,6 +598,7 @@ BBOX (-73.92490002326667, -73.92490002326667, 40.69429999217391, 40.694299992173
596598

597599
stExtentGeoShapesAndPoints
598600
required_capability: st_extent_agg
601+
required_capability: st_extent_agg_docvalues
599602

600603
FROM airport_city_boundaries
601604
| WHERE region == "City of New York"
@@ -608,6 +611,7 @@ BBOX (-74.25880000926554, -73.70020005851984, 40.91759996954352, 40.476599964313
608611

609612
stExtentGeoShapesGrouped
610613
required_capability: st_extent_agg
614+
required_capability: st_extent_agg_docvalues
611615

612616
FROM airport_city_boundaries
613617
| WHERE region == "City of New York"
@@ -625,6 +629,7 @@ L | 1 | BBOX (-74.25880000926554, -73.70020005851984, 40.9
625629

626630
stExtentGeoPointsGrouped
627631
required_capability: st_extent_agg
632+
required_capability: st_extent_agg_docvalues
628633

629634
FROM airport_city_boundaries
630635
| WHERE region == "City of New York"
@@ -642,6 +647,7 @@ L | 1 | BBOX (-73.92490002326667, -73.92490002326667, 40.6
642647

643648
stExtentGeoShapesAndPointsGrouped
644649
required_capability: st_extent_agg
650+
required_capability: st_extent_agg_docvalues
645651

646652
FROM airport_city_boundaries
647653
| WHERE region == "City of New York"
@@ -659,6 +665,7 @@ L | 1 | BBOX (-74.25880000926554, -73.70020005851984, 40.9
659665

660666
stExtentManyGeoShapesGrouped
661667
required_capability: st_extent_agg
668+
required_capability: st_extent_agg_docvalues
662669

663670
FROM airport_city_boundaries
664671
| EVAL prefix = SUBSTRING(abbrev, 1, 1)
@@ -676,6 +683,7 @@ B | 61 | BBOX (-116.51340007781982, 153.2021999359131, 60.6
676683

677684
stExtentManyGeoPointsGrouped
678685
required_capability: st_extent_agg
686+
required_capability: st_extent_agg_docvalues
679687

680688
FROM airport_city_boundaries
681689
| EVAL prefix = SUBSTRING(abbrev, 1, 1)
@@ -693,6 +701,7 @@ B | 61 | BBOX (-116.23080002143979, 153.02809992805123, 60.
693701

694702
stExtentManyGeoShapesAndPointsGrouped
695703
required_capability: st_extent_agg
704+
required_capability: st_extent_agg_docvalues
696705

697706
FROM airport_city_boundaries
698707
| EVAL prefix = SUBSTRING(abbrev, 1, 1)

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,12 @@ public enum Cap {
189189
*/
190190
ST_DISTANCE,
191191

192-
/** Support for function {@code ST_EXTENT}. */
192+
/** Support for function {@code ST_EXTENT_AGG}. */
193193
ST_EXTENT_AGG,
194194

195+
/** Optimization of ST_EXTENT_AGG with doc-values as IntBlock. */
196+
ST_EXTENT_AGG_DOCVALUES,
197+
195198
/**
196199
* Fix determination of CRS types in spatial functions when folding.
197200
*/

0 commit comments

Comments
 (0)