Skip to content

Commit 2619fe6

Browse files
committed
Fix unsupported types test
1 parent ad84f13 commit 2619fe6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

x-pack/plugin/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ tasks.named("yamlRestCompatTestTransform").configure({ task ->
9595
task.skipTest("esql/61_enrich_ip/Invalid IP strings", "We switched from exceptions to null+warnings for ENRICH runtime errors")
9696
task.skipTest("esql/180_match_operator/match with non text field", "Match operator can now be used on non-text fields")
9797
task.skipTest("esql/180_match_operator/match with functions", "Error message changed")
98-
task.skipTest("esql/40_unsupported_types/semantic_text declared in mapping", "The semantic text field format changed")
9998
task.skipTest("esql/190_lookup_join/Alias as lookup index", "LOOKUP JOIN does not support index aliases for now")
10099
task.skipTest("esql/190_lookup_join/alias-repeated-alias", "LOOKUP JOIN does not support index aliases for now")
101100
task.skipTest("esql/190_lookup_join/alias-repeated-index", "LOOKUP JOIN does not support index aliases for now")

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/40_unsupported_types.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ setup:
2626
format: "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis"
2727
dense_vector:
2828
type: dense_vector
29+
similarity: l2_norm
2930
dims: 3
3031
double_range:
3132
type: double_range
@@ -239,7 +240,7 @@ unsupported:
239240
- match: { columns.4.name: date_range }
240241
- match: { columns.4.type: unsupported }
241242
- match: { columns.5.name: dense_vector }
242-
- match: { columns.5.type: unsupported }
243+
- match: { columns.5.type: dense_vector }
243244
- match: { columns.6.name: double_range }
244245
- match: { columns.6.type: unsupported }
245246
- match: { columns.7.name: float_range }
@@ -332,7 +333,7 @@ unsupported with sort:
332333
- match: { columns.4.name: date_range }
333334
- match: { columns.4.type: unsupported }
334335
- match: { columns.5.name: dense_vector }
335-
- match: { columns.5.type: unsupported }
336+
- match: { columns.5.type: dense_vector }
336337
- match: { columns.6.name: double_range }
337338
- match: { columns.6.type: unsupported }
338339
- match: { columns.7.name: float_range }
@@ -386,7 +387,7 @@ unsupported with sort:
386387
- match: { values.0.2: null }
387388
- match: { values.0.3: "2015-01-01T12:10:30.123456789Z" }
388389
- match: { values.0.4: null }
389-
- match: { values.0.5: null }
390+
- match: { values.0.5: [0.5, 10.0, 6.0] }
390391
- match: { values.0.6: null }
391392
- match: { values.0.7: null }
392393
- match: { values.0.8: "POINT (10.0 12.0)" }

0 commit comments

Comments
 (0)