File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -543,9 +543,6 @@ tests:
543543- class : org.elasticsearch.test.rest.yaml.CcsCommonYamlTestSuiteIT
544544 method : test {p0=search/160_exists_query/Test exists query on unmapped float field}
545545 issue : https://github.com/elastic/elasticsearch/issues/132984
546- - class : org.elasticsearch.xpack.esql.analysis.AnalyzerTests
547- method : testMagnitudePlanWithDenseVectorImplicitCasting
548- issue : https://github.com/elastic/elasticsearch/issues/132985
549546- class : org.elasticsearch.xpack.search.AsyncSearchErrorTraceIT
550547 method : testAsyncSearchFailingQueryErrorTraceDefault
551548 issue : https://github.com/elastic/elasticsearch/issues/133010
@@ -582,9 +579,6 @@ tests:
582579- class : org.elasticsearch.test.rest.yaml.CcsCommonYamlTestSuiteIT
583580 method : test {p0=search/160_exists_query/Test exists query on _id field}
584581 issue : https://github.com/elastic/elasticsearch/issues/133097
585- - class : org.elasticsearch.xpack.esql.analysis.AnalyzerTests
586- method : testNoDenseVectorFailsForMagnitude
587- issue : https://github.com/elastic/elasticsearch/issues/133013
588582- class : org.elasticsearch.xpack.ml.integration.TextEmbeddingQueryIT
589583 method : testModelWithPrefixStrings
590584 issue : https://github.com/elastic/elasticsearch/issues/133138
Original file line number Diff line number Diff line change @@ -2444,6 +2444,8 @@ private void checkNoDenseVectorFailsSimilarityFunction(String similarityFunction
24442444 }
24452445
24462446 public void testMagnitudePlanWithDenseVectorImplicitCasting () {
2447+ assumeTrue ("v_magnitude not available" , EsqlCapabilities .Cap .MAGNITUDE_SCALAR_VECTOR_FUNCTION .isEnabled ());
2448+
24472449 var plan = analyze (String .format (Locale .ROOT , """
24482450 from test | eval scalar = v_magnitude([1, 2, 3])
24492451 """ ), "mapping-dense_vector.json" );
@@ -2459,6 +2461,8 @@ public void testMagnitudePlanWithDenseVectorImplicitCasting() {
24592461 }
24602462
24612463 public void testNoDenseVectorFailsForMagnitude () {
2464+ assumeTrue ("v_magnitude not available" , EsqlCapabilities .Cap .MAGNITUDE_SCALAR_VECTOR_FUNCTION .isEnabled ());
2465+
24622466 var query = String .format (Locale .ROOT , "row a = 1 | eval scalar = v_magnitude(0.342)" );
24632467 VerificationException error = expectThrows (VerificationException .class , () -> analyze (query ));
24642468 assertThat (
You can’t perform that action at this time.
0 commit comments