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 @@ -107,6 +107,35 @@ setup:
107107 " some_doc " : { "foo": "xy", "bar": 12 }
108108 }
109109
110+ - do :
111+ indices.create :
112+ index : test2
113+ body :
114+ settings :
115+ number_of_shards : 5
116+ mappings :
117+ properties :
118+ name :
119+ type : keyword
120+ nested :
121+ type : nested
122+ find_me :
123+ type : long
124+
125+ - do :
126+ bulk :
127+ index : test2
128+ refresh : true
129+ body :
130+ - { "index": { } }
131+ - {
132+ " find_me " : 1,
133+ " nested " : {
134+ " foo " : 1,
135+ " bar " : " bar" ,
136+ " baz " : 1.9
137+ }
138+ }
110139---
111140unsupported :
112141 - requires :
@@ -408,28 +437,13 @@ unsupported with sort:
408437
409438---
410439nested declared inline :
411- - do :
412- bulk :
413- index : test
414- refresh : true
415- body :
416- - { "index": { } }
417- - {
418- " find_me " : 1,
419- " nested " : {
420- " foo " : 1,
421- " bar " : " bar" ,
422- " baz " : 1.9
423- }
424- }
425-
426440 - do :
427441 allowed_warnings_regex :
428442 - " Field \\ [.*\\ ] cannot be retrieved, it is unsupported or not indexed; returning null"
429443 - " No limit defined, adding default limit of \\ [.*\\ ]"
430444 esql.query :
431445 body :
432- query : ' FROM test | WHERE find_me == 1 | KEEP n*'
446+ query : ' FROM test2 | WHERE find_me == 1 | KEEP n*'
433447
434448 # The `nested` field is not visible, nor are any of it's subfields.
435449 - match : { columns: [{name: name, type: keyword}] }
You can’t perform that action at this time.
0 commit comments