Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2371,6 +2371,7 @@ public void testImplicitCasting() {
}

public void testDenseVectorImplicitCasting() {
assumeTrue("dense_vector capability not available", EsqlCapabilities.Cap.DENSE_VECTOR_FIELD_TYPE.isEnabled());
Analyzer analyzer = analyzer(loadMapping("mapping-dense_vector.json", "vectors"));

var plan = analyze("""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,9 @@ public void testMultiMatchOptionsPushDown() {
}

public void testKnnOptionsPushDown() {
assumeTrue("dense_vector capability not available", EsqlCapabilities.Cap.DENSE_VECTOR_FIELD_TYPE.isEnabled());
assumeTrue("knn capability not available", EsqlCapabilities.Cap.KNN_FUNCTION.isEnabled());

String query = """
from test
| where KNN(dense_vector, [0.1, 0.2, 0.3],
Expand Down