Skip to content

Commit 6493c6c

Browse files
committed
Disable SPATIAL_GRID_INTERSECTS in CCS tests
1 parent 9a265a3 commit 6493c6c

File tree

1 file changed

+8
-1
lines changed
  • x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq

1 file changed

+8
-1
lines changed

x-pack/plugin/esql/qa/server/multi-clusters/src/javaRestTest/java/org/elasticsearch/xpack/esql/ccq/MultiClusterSpecIT.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.JOIN_LOOKUP_V12;
5757
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.JOIN_PLANNING_V1;
5858
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.METADATA_FIELDS_REMOTE_TEST;
59+
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.SPATIAL_GRID_INTERSECTS;
5960
import static org.elasticsearch.xpack.esql.action.EsqlCapabilities.Cap.UNMAPPED_FIELDS;
6061
import static org.elasticsearch.xpack.esql.qa.rest.RestEsqlTestCase.hasCapabilities;
6162
import static org.mockito.ArgumentMatchers.any;
@@ -147,7 +148,13 @@ protected void shouldSkipTest(String testName) throws IOException {
147148
hasCapabilities(adminClient(), List.of(ENABLE_LOOKUP_JOIN_ON_REMOTE.capabilityName()))
148149
);
149150
}
150-
// Unmapped fields require a coorect capability response from every cluster, which isn't currently implemented.
151+
// Some calls to ST_INTERSECTS with GRID are not yet supported in CCS
152+
// See https://github.com/elastic/elasticsearch/issues/134110
153+
assumeFalse(
154+
"SPATIAL_GRID_INTERSECTS not yet supported in CCS",
155+
testCase.requiredCapabilities.contains(SPATIAL_GRID_INTERSECTS.capabilityName())
156+
);
157+
// Unmapped fields require a correct capability response from every cluster, which isn't currently implemented.
151158
assumeFalse("UNMAPPED FIELDS not yet supported in CCS", testCase.requiredCapabilities.contains(UNMAPPED_FIELDS.capabilityName()));
152159
// Tests that use capabilities not supported in CCS
153160
assumeFalse(

0 commit comments

Comments
 (0)