File tree Expand file tree Collapse file tree 1 file changed +30
-16
lines changed
x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/esql Expand file tree Collapse file tree 1 file changed +30
-16
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,35 @@ setup:
108108 " some_doc " : { "foo": "xy", "bar": 12 }
109109 }
110110
111+ - do :
112+ indices.create :
113+ index : test2
114+ body :
115+ settings :
116+ number_of_shards : 5
117+ mappings :
118+ properties :
119+ name :
120+ type : keyword
121+ nested :
122+ type : nested
123+ find_me :
124+ type : long
125+
126+ - do :
127+ bulk :
128+ index : test2
129+ refresh : true
130+ body :
131+ - { "index": { } }
132+ - {
133+ " find_me " : 1,
134+ " nested " : {
135+ " foo " : 1,
136+ " bar " : " bar" ,
137+ " baz " : 1.9
138+ }
139+ }
111140---
112141unsupported :
113142 - requires :
@@ -417,28 +446,13 @@ unsupported with sort:
417446 - match : { values.0.28: 3 }
418447---
419448nested declared inline :
420- - do :
421- bulk :
422- index : test
423- refresh : true
424- body :
425- - { "index": { } }
426- - {
427- " find_me " : 1,
428- " nested " : {
429- " foo " : 1,
430- " bar " : " bar" ,
431- " baz " : 1.9
432- }
433- }
434-
435449 - do :
436450 allowed_warnings_regex :
437451 - " Field \\ [.*\\ ] cannot be retrieved, it is unsupported or not indexed; returning null"
438452 - " No limit defined, adding default limit of \\ [.*\\ ]"
439453 esql.query :
440454 body :
441- query : ' FROM test | WHERE find_me == 1 | KEEP n*'
455+ query : ' FROM test2 | WHERE find_me == 1 | KEEP n*'
442456
443457 # The `nested` field is not visible, nor are any of it's subfields.
444458 - match : { columns: [{name: name, type: keyword}] }
You can’t perform that action at this time.
0 commit comments