Skip to content

Commit 46c9f72

Browse files
committed
Fix test
1 parent f6c9f73 commit 46c9f72

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql/160_union_types.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,15 @@ load single index ip_long stats invalid grouping:
263263

264264
---
265265
load two indices, showing unsupported type and null value for event_duration:
266+
- requires:
267+
test_runner_features: [capabilities]
268+
capabilities:
269+
- method: POST
270+
path: /_query
271+
parameters: []
272+
capabilities: [REPORT_ORIGINAL_TYPES]
273+
reason: "Uses original_types"
274+
266275
- do:
267276
allowed_warnings_regex:
268277
- "No limit defined, adding default limit of \\[.*\\]"
@@ -304,8 +313,8 @@ load two indices with no conversion function, but needs TO_LONG conversion:
304313
- method: POST
305314
path: /_query
306315
parameters: []
307-
capabilities: [union_types_fix_rename_resolution]
308-
reason: "Union type resolution fix for rename also allows direct usage of unsupported fields in KEEP"
316+
capabilities: [REPORT_ORIGINAL_TYPES]
317+
reason: "Uses original_types"
309318

310319
- do:
311320
allowed_warnings_regex:

0 commit comments

Comments
 (0)