File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,23 @@ lookup-no-key:
276
276
277
277
- match : { error.type: "verification_exception" }
278
278
- contains : { error.reason: "Unknown column [key] in right side of join" }
279
+ ---
280
+ lookup-no-key-only-key :
281
+ - requires :
282
+ capabilities :
283
+ - method : POST
284
+ path : /_query
285
+ parameters : [ ]
286
+ capabilities : [ enable_lookup_join_on_remote ]
287
+ reason : " recent lookup join fix"
288
+ - do :
289
+ esql.query :
290
+ body :
291
+ query : ' FROM test | LOOKUP JOIN test-lookup-no-key ON key | KEEP key'
292
+ catch : " bad_request"
279
293
294
+ - match : { error.type: "verification_exception" }
295
+ - contains : { error.reason: "Unknown column [key] in right side of join" }
280
296
---
281
297
basic join on two fields :
282
298
- requires :
You can’t perform that action at this time.
0 commit comments